1 | <?php |
||
5 | class TVShow extends Item implements \vfalies\tmdb\Interfaces\TVShowInterface |
||
6 | { |
||
7 | |||
8 | 28 | public function __construct(\vfalies\tmdb\Tmdb $tmdb, int $tv_id, array $options = array()) |
|
12 | |||
13 | /** |
||
14 | * Get TV show id |
||
15 | * @return int |
||
16 | */ |
||
17 | 1 | public function getId(): int |
|
21 | |||
22 | /** |
||
23 | * Get TVSHow genres |
||
24 | * @return array |
||
25 | */ |
||
26 | 2 | public function getGenres(): array |
|
34 | |||
35 | /** |
||
36 | * Get TVshow note |
||
37 | * @return float |
||
38 | */ |
||
39 | 2 | public function getNote(): float |
|
47 | |||
48 | /** |
||
49 | * Get TVshow number of episodes |
||
50 | * @return int |
||
51 | */ |
||
52 | 2 | public function getNumberEpisodes(): int |
|
60 | |||
61 | /** |
||
62 | * Get TVShow number of seasons |
||
63 | * @return int |
||
64 | */ |
||
65 | 2 | public function getNumberSeasons(): int |
|
73 | |||
74 | /** |
||
75 | * Get TVShow original title |
||
76 | * @return string |
||
77 | */ |
||
78 | 2 | public function getOriginalTitle(): string |
|
86 | |||
87 | /** |
||
88 | * Get TVShow overview |
||
89 | * @return string |
||
90 | */ |
||
91 | 2 | public function getOverview(): string |
|
99 | |||
100 | /** |
||
101 | * Get TVShow release date |
||
102 | * @return string |
||
103 | */ |
||
104 | 2 | public function getReleaseDate(): string |
|
112 | |||
113 | /** |
||
114 | * Get TVShow status |
||
115 | * @return string |
||
116 | */ |
||
117 | 2 | public function getStatus(): string |
|
125 | |||
126 | /** |
||
127 | * Get TVShow title |
||
128 | * @return string |
||
129 | */ |
||
130 | 2 | public function getTitle(): string |
|
138 | |||
139 | /** |
||
140 | * Get TVShow seasons |
||
141 | * @return \Generator |
||
142 | * @throws \Exception |
||
143 | */ |
||
144 | public function getSeasons() : \Generator |
||
148 | } |
||
149 |