| 1 | <?php |
||
| 15 | class Comment |
||
| 16 | { |
||
| 17 | private $event; |
||
| 18 | |||
| 19 | private $author; |
||
| 20 | |||
| 21 | private $date; |
||
| 22 | |||
| 23 | private $text; |
||
| 24 | |||
| 25 | public function getEvent() |
||
| 29 | |||
| 30 | public function setEvent(Event $event) |
||
| 34 | |||
| 35 | public function getAuthor() |
||
| 39 | |||
| 40 | public function setAuthor(User $author) |
||
| 44 | |||
| 45 | public function getDate() |
||
| 49 | |||
| 50 | public function setDate(\DateTime $date) |
||
| 54 | |||
| 55 | public function getText() |
||
| 59 | |||
| 60 | public function setText($text) |
||
| 64 | } |
||
| 65 |