| 1 | <?php |
||
| 8 | final class Entry |
||
| 9 | { |
||
| 10 | use HasLinks; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var array |
||
| 14 | */ |
||
| 15 | private $json; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param array $json |
||
| 19 | */ |
||
| 20 | 11 | public function __construct(array $json) |
|
| 24 | |||
| 25 | /** |
||
| 26 | * @return null|string |
||
| 27 | */ |
||
| 28 | 10 | public function getEventUrl() |
|
| 34 | |||
| 35 | 5 | public function getTitle() |
|
| 39 | |||
| 40 | /** |
||
| 41 | * @return array |
||
| 42 | */ |
||
| 43 | 10 | protected function getLinks() |
|
| 47 | } |
||
| 48 |