1 | <?php |
||
32 | class People extends Item implements PeopleInterface |
||
33 | { |
||
34 | |||
35 | use ElementTrait; |
||
36 | |||
37 | /** |
||
38 | * Constructor |
||
39 | * @param \vfalies\tmdb\Interfaces\TmdbInterface $tmdb |
||
40 | * @param int $people_id |
||
41 | * @param array $options |
||
42 | * @throws Exception |
||
43 | */ |
||
44 | 67 | public function __construct(TmdbInterface $tmdb, $people_id, array $options = array()) |
|
48 | |||
49 | /** |
||
50 | * Adult |
||
51 | * @return boolean |
||
52 | */ |
||
53 | 2 | public function getAdult() |
|
61 | |||
62 | /** |
||
63 | * Alse Known as |
||
64 | * @return array |
||
65 | */ |
||
66 | 2 | public function getAlsoKnownAs() |
|
74 | |||
75 | /** |
||
76 | * Biography |
||
77 | * @return string |
||
78 | */ |
||
79 | 2 | public function getBiography() |
|
87 | |||
88 | /** |
||
89 | * Birthday |
||
90 | * @return string |
||
91 | */ |
||
92 | 2 | public function getBirthday() |
|
100 | |||
101 | /** |
||
102 | * Deathday |
||
103 | * @return string |
||
104 | */ |
||
105 | 2 | public function getDeathday() |
|
113 | |||
114 | /** |
||
115 | * Gender |
||
116 | * @return int |
||
117 | */ |
||
118 | 2 | public function getGender() |
|
126 | |||
127 | /** |
||
128 | * Homepage |
||
129 | * @return string |
||
130 | */ |
||
131 | 2 | public function getHomepage() |
|
139 | |||
140 | /** |
||
141 | * Id |
||
142 | * @return int |
||
143 | */ |
||
144 | 3 | public function getId() |
|
152 | |||
153 | /** |
||
154 | * Imdb Id |
||
155 | * @return string |
||
156 | */ |
||
157 | 2 | public function getImdbId() |
|
165 | |||
166 | /** |
||
167 | * Name |
||
168 | * @return string |
||
169 | */ |
||
170 | 2 | public function getName() |
|
178 | |||
179 | /** |
||
180 | * Place of birth |
||
181 | * @return string |
||
182 | */ |
||
183 | 2 | public function getPlaceOfBirth() |
|
191 | |||
192 | /** |
||
193 | * Popularity |
||
194 | * @return int |
||
195 | */ |
||
196 | 2 | public function getPopularity() |
|
204 | |||
205 | /** |
||
206 | * Image profile path |
||
207 | * @return string |
||
208 | */ |
||
209 | 2 | public function getProfilePath() |
|
217 | |||
218 | /** |
||
219 | * Images Profiles |
||
220 | * @return \Generator|Results\Image |
||
221 | */ |
||
222 | 1 | public function getProfiles() |
|
232 | |||
233 | /** |
||
234 | * Get movies cast |
||
235 | * @return \Generator|Results\PeopleMovieCast |
||
236 | */ |
||
237 | 9 | public function getMoviesCast() |
|
242 | |||
243 | /** |
||
244 | * Get movies crew |
||
245 | * @return \Generator|Results\PeopleMovieCast |
||
246 | */ |
||
247 | 10 | public function getMoviesCrew() |
|
252 | |||
253 | |||
254 | /** |
||
255 | * Get TVShow cast |
||
256 | * @return \Generator|Results\PeopleTVShowCast |
||
257 | */ |
||
258 | 9 | public function getTVShowCast() |
|
263 | |||
264 | /** |
||
265 | * Get TVShow crew |
||
266 | * @return \Generator|Results\PeopleTVShowCast |
||
267 | */ |
||
268 | 10 | public function getTVShowCrew() |
|
273 | } |
||
274 |