Add automatic agenda on front page.
This commit is contained in:
@@ -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 */
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user