1 | <?php declare(strict_types=1); |
||
23 | trait ElementTrait |
||
24 | { |
||
25 | /** |
||
26 | * ElementTrait object variable |
||
27 | * @var \stdClass |
||
28 | */ |
||
29 | protected $element_trait; |
||
30 | |||
31 | /** |
||
32 | * Set ElementTrait variable |
||
33 | * @param \stdClass|null $data |
||
34 | * @return void |
||
35 | */ |
||
36 | 250 | protected function setElementTrait(?\stdClass $data) : void |
|
40 | |||
41 | /** |
||
42 | * Get poster path |
||
43 | * @return string |
||
44 | */ |
||
45 | 6 | public function getPosterPath() : string |
|
52 | |||
53 | /** |
||
54 | * Get backdrop |
||
55 | * @return string |
||
56 | */ |
||
57 | 4 | public function getBackdropPath() : string |
|
64 | } |
||
65 |