1 | <?php |
||
14 | final class EventInfo |
||
15 | { |
||
16 | /** |
||
17 | * @var int |
||
18 | */ |
||
19 | private $eventId; |
||
20 | |||
21 | /** |
||
22 | * @var string |
||
23 | */ |
||
24 | private $title; |
||
25 | |||
26 | /** |
||
27 | * @var string|null |
||
28 | */ |
||
29 | private $description; |
||
30 | |||
31 | /** |
||
32 | * @var \DateTime|null |
||
33 | */ |
||
34 | private $eventDate; |
||
35 | |||
36 | /** |
||
37 | * @var \DateTime|null |
||
38 | */ |
||
39 | private $eventEndDate; |
||
40 | |||
41 | /** |
||
42 | * @var string|null |
||
43 | */ |
||
44 | private $eventWebsite; |
||
45 | |||
46 | /** |
||
47 | * @var Image|null |
||
48 | */ |
||
49 | private $image; |
||
50 | |||
51 | /** |
||
52 | * @var string|null |
||
53 | */ |
||
54 | private $url; |
||
55 | |||
56 | /** |
||
57 | * @var bool |
||
58 | */ |
||
59 | private $festival; |
||
60 | |||
61 | /** |
||
62 | * @var Venue |
||
63 | */ |
||
64 | private $venue; |
||
65 | |||
66 | /** |
||
67 | * @var Artist[] |
||
68 | */ |
||
69 | private $artists; |
||
70 | |||
71 | /** |
||
72 | * @param Artist[] $artists |
||
73 | */ |
||
74 | public function __construct( |
||
99 | |||
100 | public function getEventId(): int |
||
104 | |||
105 | public function getTitle(): string |
||
109 | |||
110 | public function getDescription(): ?string |
||
114 | |||
115 | public function getEventDate(): ?\DateTime |
||
119 | |||
120 | public function getEventEndDate(): ?\DateTime |
||
124 | |||
125 | public function getEventWebsite(): ?string |
||
129 | |||
130 | public function getImage(): ?Image |
||
134 | |||
135 | public function getUrl(): ?string |
||
139 | |||
140 | public function isFestival(): bool |
||
144 | |||
145 | public function getVenue(): Venue |
||
149 | |||
150 | /** |
||
151 | * @return Artist[] |
||
152 | */ |
||
153 | public function getArtists(): array |
||
157 | } |
||
158 |