2016-08-15 18:48:02 +02:00
|
|
|
<?php //declare(strict_types=1);
|
2016-08-15 18:47:07 +02:00
|
|
|
namespace pvv\side;
|
|
|
|
|
2016-08-17 23:53:35 +02:00
|
|
|
use \DateTimeImmutable;
|
2016-08-15 18:47:07 +02:00
|
|
|
|
2016-08-26 17:04:20 +02:00
|
|
|
abstract class Event {
|
2016-08-15 18:47:07 +02:00
|
|
|
|
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-15 18:47:07 +02:00
|
|
|
|
2016-08-26 17:22:11 +02:00
|
|
|
public abstract function getURL(); /* : string */
|
|
|
|
|
2016-08-15 18:47:07 +02:00
|
|
|
}
|