1 | <?php |
||
5 | class Movie extends Item implements \vfalies\tmdb\Interfaces\MovieInterface |
||
6 | { |
||
7 | /** |
||
8 | * Constructor |
||
9 | * @param \vfalies\tmdb\Tmdb $tmdb |
||
10 | * @param int $movie_id |
||
11 | * @param array $options |
||
12 | * @throws Exception |
||
13 | */ |
||
14 | 28 | public function __construct(\vfalies\tmdb\Tmdb $tmdb, int $movie_id, array $options = array()) |
|
18 | |||
19 | /** |
||
20 | * Get movie genres |
||
21 | * @return array |
||
22 | */ |
||
23 | 2 | public function getGenres(): array |
|
31 | |||
32 | /** |
||
33 | * Get movie title |
||
34 | * @return string |
||
35 | */ |
||
36 | 2 | public function getTitle(): string |
|
44 | |||
45 | /** |
||
46 | * Get movie overview |
||
47 | * @return string |
||
48 | */ |
||
49 | 2 | public function getOverview(): string |
|
57 | |||
58 | /** |
||
59 | * Get movie release date |
||
60 | * @return string |
||
61 | */ |
||
62 | 2 | public function getReleaseDate(): string |
|
70 | |||
71 | /** |
||
72 | * Get movie original title |
||
73 | * @return string |
||
74 | */ |
||
75 | 2 | public function getOriginalTitle(): string |
|
83 | |||
84 | /** |
||
85 | * Get movie note |
||
86 | * @return float |
||
87 | */ |
||
88 | 2 | public function getNote(): float |
|
96 | |||
97 | /** |
||
98 | * Get movie id |
||
99 | * @return int |
||
100 | */ |
||
101 | 1 | public function getId(): int |
|
105 | |||
106 | /** |
||
107 | * Get IMDB movie id |
||
108 | * @return string |
||
109 | */ |
||
110 | 2 | public function getIMDBId(): string |
|
118 | |||
119 | /** |
||
120 | * Get movie tagline |
||
121 | * @return string |
||
122 | */ |
||
123 | 2 | public function getTagLine(): string |
|
131 | |||
132 | /** |
||
133 | * Get collection id |
||
134 | * @return int |
||
135 | */ |
||
136 | 2 | public function getCollectionId(): int |
|
144 | |||
145 | } |
||
146 |