1 | <?php |
||
12 | class Media implements MediaInterface |
||
13 | { |
||
14 | /** |
||
15 | * @ORM\Column(name="id", type="integer") |
||
16 | * @ORM\Id |
||
17 | * @ORM\GeneratedValue(strategy="AUTO") |
||
18 | */ |
||
19 | private $id; |
||
20 | |||
21 | /** |
||
22 | * @ORM\Column(type="string", nullable=true) |
||
23 | */ |
||
24 | private $title; |
||
25 | |||
26 | /** |
||
27 | * @ORM\Column(type="text", nullable=true) |
||
28 | */ |
||
29 | private $description; |
||
30 | |||
31 | /** |
||
32 | * @ORM\Column(type="string") |
||
33 | */ |
||
34 | private $provider; |
||
35 | |||
36 | /** |
||
37 | * @ORM\Column(type="string") |
||
38 | */ |
||
39 | private $type; |
||
40 | |||
41 | /** |
||
42 | * @ORM\Column(type="string") |
||
43 | */ |
||
44 | private $providerReference; |
||
45 | |||
46 | /** |
||
47 | * @ORM\Column(type="json_array") |
||
48 | */ |
||
49 | private $providerMetaData = []; |
||
50 | |||
51 | /** |
||
52 | * @ORM\Column(type="string", nullable=true) |
||
53 | */ |
||
54 | private $image; |
||
55 | |||
56 | /** |
||
57 | * @ORM\Column(type="json_array") |
||
58 | */ |
||
59 | private $imageMetaData = []; |
||
60 | |||
61 | /** |
||
62 | * @ORM\Column(type="string", nullable=true) |
||
63 | */ |
||
64 | private $focalPoint; |
||
65 | |||
66 | /** |
||
67 | * @ORM\Column(type="string", nullable=true) |
||
68 | */ |
||
69 | private $copyright; |
||
70 | |||
71 | /** |
||
72 | * @ORM\Column(type="string", nullable=true) |
||
73 | */ |
||
74 | private $authorName; |
||
75 | |||
76 | /** |
||
77 | * @var \DateTime |
||
78 | * @ORM\Column(type="datetime") |
||
79 | */ |
||
80 | private $createdAt; |
||
81 | |||
82 | /** |
||
83 | * @var \DateTime |
||
84 | * @ORM\Column(type="datetime") |
||
85 | */ |
||
86 | private $updatedAt; |
||
87 | |||
88 | /** |
||
89 | * @var string |
||
90 | */ |
||
91 | private $binaryContent; |
||
92 | |||
93 | /** |
||
94 | * @var string |
||
95 | */ |
||
96 | private $imageContent; |
||
97 | |||
98 | public function __construct() |
||
103 | |||
104 | /** |
||
105 | * @return mixed |
||
106 | */ |
||
107 | public function getId() |
||
111 | |||
112 | /** |
||
113 | * @param mixed $id |
||
114 | */ |
||
115 | public function setId($id) |
||
119 | |||
120 | /** |
||
121 | * @return mixed |
||
122 | */ |
||
123 | public function getTitle() |
||
127 | |||
128 | /** |
||
129 | * @param mixed $title |
||
130 | */ |
||
131 | public function setTitle($title) |
||
135 | |||
136 | /** |
||
137 | * @return mixed |
||
138 | */ |
||
139 | public function getDescription() |
||
143 | |||
144 | /** |
||
145 | * @param mixed $description |
||
146 | */ |
||
147 | public function setDescription($description) |
||
151 | |||
152 | /** |
||
153 | * @return mixed |
||
154 | */ |
||
155 | public function getProvider() |
||
159 | |||
160 | /** |
||
161 | * @param mixed $provider |
||
162 | * @return Media |
||
163 | */ |
||
164 | public function setProvider($provider) |
||
170 | |||
171 | /** |
||
172 | * @return mixed |
||
173 | */ |
||
174 | public function getType() |
||
178 | |||
179 | /** |
||
180 | * @param mixed $type |
||
181 | * @return Media |
||
182 | */ |
||
183 | public function setType($type) |
||
189 | |||
190 | /** |
||
191 | * @return mixed |
||
192 | */ |
||
193 | public function getProviderReference() |
||
197 | |||
198 | /** |
||
199 | * @param mixed $providerReference |
||
200 | */ |
||
201 | public function setProviderReference($providerReference) |
||
205 | |||
206 | /** |
||
207 | * @return array |
||
208 | */ |
||
209 | public function getProviderMetaData() |
||
213 | |||
214 | /** |
||
215 | * @param array $providerMetaData |
||
216 | */ |
||
217 | public function setProviderMetaData(array $providerMetaData) |
||
221 | |||
222 | /** |
||
223 | * @return mixed |
||
224 | */ |
||
225 | public function getImage() |
||
229 | |||
230 | /** |
||
231 | * @param mixed $image |
||
232 | * @return Media |
||
233 | */ |
||
234 | public function setImage($image) |
||
240 | |||
241 | /** |
||
242 | * @return array |
||
243 | */ |
||
244 | public function getImageMetaData() |
||
248 | |||
249 | /** |
||
250 | * @param array $imageMetaData |
||
251 | * @return Media |
||
252 | */ |
||
253 | public function setImageMetaData(array $imageMetaData) |
||
259 | |||
260 | /** |
||
261 | * @return mixed |
||
262 | */ |
||
263 | public function getFocalPoint() |
||
271 | |||
272 | /** |
||
273 | * @param mixed $focalPoint |
||
274 | * @return Media |
||
275 | */ |
||
276 | public function setFocalPoint($focalPoint) |
||
282 | |||
283 | /** |
||
284 | * @return mixed |
||
285 | */ |
||
286 | public function getCopyright() |
||
290 | |||
291 | /** |
||
292 | * @param mixed $copyright |
||
293 | */ |
||
294 | public function setCopyright($copyright) |
||
298 | |||
299 | /** |
||
300 | * @return mixed |
||
301 | */ |
||
302 | public function getAuthorName() |
||
306 | |||
307 | /** |
||
308 | * @param mixed $authorName |
||
309 | * @return Media |
||
310 | */ |
||
311 | public function setAuthorName($authorName) |
||
317 | |||
318 | /** |
||
319 | * @return string |
||
320 | */ |
||
321 | public function getBinaryContent() |
||
325 | |||
326 | /** |
||
327 | * @param string $binaryContent |
||
328 | * @return Media |
||
329 | */ |
||
330 | public function setBinaryContent($binaryContent) |
||
336 | |||
337 | /** |
||
338 | * @return mixed |
||
339 | */ |
||
340 | public function getSlug() |
||
344 | |||
345 | /** |
||
346 | * @return mixed |
||
347 | */ |
||
348 | public function getCreatedAt() |
||
352 | |||
353 | /** |
||
354 | * @param mixed $createdAt |
||
355 | * @return Media |
||
356 | */ |
||
357 | public function setCreatedAt($createdAt) |
||
363 | |||
364 | /** |
||
365 | * @return \DateTime |
||
366 | */ |
||
367 | public function getUpdatedAt() |
||
371 | |||
372 | /** |
||
373 | * @param \DateTime $updatedAt |
||
374 | * @return Media |
||
375 | */ |
||
376 | public function setUpdatedAt($updatedAt) |
||
382 | |||
383 | /** |
||
384 | * @return string |
||
385 | */ |
||
386 | public function getImageContent() |
||
390 | |||
391 | /** |
||
392 | * @param string $imageContent |
||
393 | * @return Media |
||
394 | */ |
||
395 | public function setImageContent($imageContent) |
||
401 | |||
402 | /** |
||
403 | * @return mixed |
||
404 | */ |
||
405 | public function __toString() |
||
409 | } |
||
410 |