1 | <?php declare(strict_types = 1); |
||
27 | class Company extends Results implements CompanyResultsInterface |
||
28 | { |
||
29 | /** |
||
30 | * Collection name |
||
31 | * @var string |
||
32 | */ |
||
33 | protected $name = null; |
||
34 | /** |
||
35 | * Collection image logo path |
||
36 | * @var string |
||
37 | */ |
||
38 | protected $logo_path = null; |
||
39 | /** |
||
40 | * Collection Id |
||
41 | * @var int |
||
42 | */ |
||
43 | protected $id = null; |
||
44 | |||
45 | /** |
||
46 | * Constructor |
||
47 | * @param TmdbInterface $tmdb |
||
48 | * @param \stdClass $result |
||
49 | */ |
||
50 | 5 | public function __construct(TmdbInterface $tmdb, \stdClass $result) |
|
59 | |||
60 | /** |
||
61 | * Collection id |
||
62 | * @return int |
||
63 | */ |
||
64 | 1 | public function getId() : int |
|
68 | |||
69 | /** |
||
70 | * Image logo path |
||
71 | * @return string |
||
72 | */ |
||
73 | 1 | public function getLogoPath() : string |
|
77 | |||
78 | /** |
||
79 | * Collection name |
||
80 | * @return string |
||
81 | */ |
||
82 | 2 | public function getName() : string |
|
86 | } |
||
87 |