1 | <?php |
||
28 | class People extends Results implements PeopleResultsInterface |
||
29 | { |
||
30 | /** |
||
31 | * Adult |
||
32 | * @var string |
||
33 | */ |
||
34 | protected $adult = null; |
||
35 | /** |
||
36 | * People known for |
||
37 | * @var array |
||
38 | */ |
||
39 | protected $known_for = null; |
||
40 | /** |
||
41 | * People name |
||
42 | * @var string |
||
43 | */ |
||
44 | protected $name = null; |
||
45 | /** |
||
46 | * Popularity |
||
47 | * @var int |
||
48 | */ |
||
49 | protected $popularity = null; |
||
50 | /** |
||
51 | * Image profile path |
||
52 | * @var string |
||
53 | */ |
||
54 | protected $profile_path = null; |
||
55 | /** |
||
56 | * Id |
||
57 | * @var int |
||
58 | */ |
||
59 | protected $id = null; |
||
60 | |||
61 | /** |
||
62 | * Constructor |
||
63 | * @param \vfalies\tmdb\Interfaces\TmdbInterface $tmdb |
||
64 | * @param \stdClass $result |
||
65 | * @throws \Exception |
||
66 | */ |
||
67 | 6 | public function __construct(TmdbInterface $tmdb, \stdClass $result) |
|
79 | |||
80 | /** |
||
81 | * Get Id |
||
82 | * @return int |
||
83 | */ |
||
84 | 1 | public function getId() |
|
88 | |||
89 | /** |
||
90 | * Get Adult |
||
91 | * @return string |
||
92 | */ |
||
93 | 1 | public function getAdult() |
|
97 | |||
98 | /** |
||
99 | * People name |
||
100 | * @return string |
||
101 | */ |
||
102 | 1 | public function getName() |
|
106 | |||
107 | /** |
||
108 | * People Popularity |
||
109 | * @return string |
||
110 | */ |
||
111 | 1 | public function getPopularity() |
|
115 | |||
116 | /** |
||
117 | * Image profile path |
||
118 | * @return string |
||
119 | */ |
||
120 | 1 | public function getProfilePath() |
|
124 | |||
125 | } |
||
126 |