Add automatic agenda on front page.

This commit is contained in:
2016-08-17 23:53:35 +02:00
parent e4e8b0972b
commit b6970d3f03
7 changed files with 168 additions and 65 deletions

View File

@@ -1,10 +1,20 @@
<?php //declare(strict_types=1);
namespace pvv\side;
interface Event extends Activity {
use \DateTimeImmutable;
public function getStart(); /* : DateTime */
abstract class Event implements Activity {
public function getStop(); /* : DateTime */
private $start;
public function __construct(DateTimeImmutable $start) {
$this->start = $start;
}
public function getStart() {
return $this->start;
}
public abstract function getStop(); /* : DateTimeImmutable */
}