nettsiden/src/pvv/side/event.php

23 lines
382 B
PHP
Raw Normal View History

<?php //declare(strict_types=1);
namespace pvv\side;
2016-08-17 23:53:35 +02:00
use \DateTimeImmutable;
2016-08-26 17:04:20 +02:00
abstract class Event {
2016-08-17 23:53:35 +02:00
private $start;
public function __construct(DateTimeImmutable $start) {
$this->start = $start;
}
public function getStart() {
return $this->start;
}
public abstract function getStop(); /* : DateTimeImmutable */
2016-08-26 17:22:11 +02:00
public abstract function getURL(); /* : string */
}