1 | <?php |
||
29 | class Company extends Item implements CompanyInterface |
||
30 | { |
||
31 | use ElementTrait; |
||
32 | |||
33 | /** |
||
34 | * Constructor |
||
35 | * @param \vfalies\tmdb\Interfaces\TmdbInterface $tmdb |
||
36 | * @param int $company_id |
||
37 | * @param array $options |
||
38 | */ |
||
39 | 15 | public function __construct(TmdbInterface $tmdb, $company_id, array $options = array()) |
|
43 | |||
44 | /** |
||
45 | * Company description |
||
46 | * @return string |
||
47 | */ |
||
48 | 2 | public function getDescription() |
|
56 | |||
57 | /** |
||
58 | * Company Head quarters |
||
59 | * @return string |
||
60 | */ |
||
61 | 2 | public function getHeadQuarters() |
|
69 | |||
70 | /** |
||
71 | * Company Homepage |
||
72 | * @return string |
||
73 | */ |
||
74 | 2 | public function getHomePage() |
|
82 | |||
83 | /** |
||
84 | * Company Id |
||
85 | * @return int |
||
86 | */ |
||
87 | 3 | public function getId() |
|
95 | |||
96 | /** |
||
97 | * Company image logo path |
||
98 | * @return string |
||
99 | */ |
||
100 | 2 | public function getLogoPath() |
|
108 | |||
109 | /** |
||
110 | * Company name |
||
111 | * @return string |
||
112 | */ |
||
113 | 2 | public function getName() |
|
121 | |||
122 | /** |
||
123 | * Company movies list |
||
124 | * @return \Generator |
||
125 | */ |
||
126 | 1 | public function getMovies() |
|
136 | } |
||
137 |