Simplify class structure.

This commit is contained in:
2016-08-26 17:04:20 +02:00
parent 6c3ac94804
commit 66114f36f9
11 changed files with 46 additions and 131 deletions

View File

@@ -5,10 +5,8 @@ use \DateTimeImmutable;
interface Activity {
public function getName(); /* : string */
public function getNextEventFrom(DateTimeImmutable $date) /* : Event */;
public function getLocation(); /* : Location */
public function getOrganiser(); /* : User */
public function getPreviousEventFrom(DateTimeImmutable $date) /* : Event */;
}