1 | <?php declare(strict_types = 1); |
||
27 | class Crew extends Results implements CrewResultsInterface |
||
28 | { |
||
29 | /** |
||
30 | * Department |
||
31 | * @var string |
||
32 | */ |
||
33 | protected $department = null; |
||
34 | /** |
||
35 | * Gender |
||
36 | * @var string |
||
37 | */ |
||
38 | protected $gender = null; |
||
39 | /** |
||
40 | * Credit id |
||
41 | * @var string |
||
42 | */ |
||
43 | protected $credit_id = null; |
||
44 | /** |
||
45 | * Job |
||
46 | * @var string |
||
47 | */ |
||
48 | protected $job = null; |
||
49 | /** |
||
50 | * Name |
||
51 | * @var string |
||
52 | */ |
||
53 | protected $name = null; |
||
54 | /** |
||
55 | * Image profile path |
||
56 | * @var string |
||
57 | */ |
||
58 | protected $profile_path = null; |
||
59 | /** |
||
60 | * Id |
||
61 | * @var int |
||
62 | */ |
||
63 | protected $id = null; |
||
64 | |||
65 | /** |
||
66 | * Constructor |
||
67 | * @param TmdbInterface $tmdb |
||
68 | * @param \stdClass $result |
||
69 | */ |
||
70 | 10 | public function __construct(TmdbInterface $tmdb, \stdClass $result) |
|
82 | |||
83 | /** |
||
84 | * Id |
||
85 | * @return int |
||
86 | */ |
||
87 | 1 | public function getId() : int |
|
91 | |||
92 | /** |
||
93 | * Credit Id |
||
94 | * @return string |
||
95 | */ |
||
96 | 1 | public function getCreditId() : string |
|
100 | |||
101 | /** |
||
102 | * Department |
||
103 | * @return string |
||
104 | */ |
||
105 | 1 | public function getDepartment() : string |
|
109 | |||
110 | /** |
||
111 | * Gender |
||
112 | * @return string|null |
||
113 | */ |
||
114 | 1 | public function getGender() : ?string |
|
118 | |||
119 | /** |
||
120 | * Job |
||
121 | * @return string |
||
122 | */ |
||
123 | 1 | public function getJob() : string |
|
127 | |||
128 | /** |
||
129 | * Name |
||
130 | * @return string |
||
131 | */ |
||
132 | 1 | public function getName() : string |
|
136 | |||
137 | /** |
||
138 | * Image profile path |
||
139 | * @return string |
||
140 | */ |
||
141 | 1 | public function getProfilePath() : string |
|
145 | } |
||
146 |