1 | <?php |
||
5 | class TVShow extends Item implements \vfalies\tmdb\Interfaces\TVShowInterface |
||
6 | { |
||
7 | |||
8 | protected $id = null; |
||
9 | protected $tmdb = null; |
||
10 | protected $conf = null; |
||
11 | protected $data = null; |
||
12 | |||
13 | 28 | public function __construct(\vfalies\tmdb\Tmdb $tmdb, int $tv_id, array $options = array()) |
|
17 | |||
18 | /** |
||
19 | * Get TV show id |
||
20 | * @return int |
||
21 | */ |
||
22 | 1 | public function getId(): int |
|
26 | |||
27 | /** |
||
28 | * Get TVSHow genres |
||
29 | * @return array |
||
30 | */ |
||
31 | 2 | public function getGenres(): array |
|
39 | |||
40 | /** |
||
41 | * Get TVshow note |
||
42 | * @return float |
||
43 | */ |
||
44 | 2 | public function getNote(): float |
|
52 | |||
53 | /** |
||
54 | * Get TVshow number of episodes |
||
55 | * @return int |
||
56 | */ |
||
57 | 2 | public function getNumberEpisodes(): int |
|
65 | |||
66 | /** |
||
67 | * Get TVShow number of seasons |
||
68 | * @return int |
||
69 | */ |
||
70 | 2 | public function getNumberSeasons(): int |
|
78 | |||
79 | /** |
||
80 | * Get TVShow original title |
||
81 | * @return string |
||
82 | */ |
||
83 | 2 | public function getOriginalTitle(): string |
|
91 | |||
92 | /** |
||
93 | * Get TVShow overview |
||
94 | * @return string |
||
95 | */ |
||
96 | 2 | public function getOverview(): string |
|
104 | |||
105 | /** |
||
106 | * Get TVShow release date |
||
107 | * @return string |
||
108 | */ |
||
109 | 2 | public function getReleaseDate(): string |
|
117 | |||
118 | /** |
||
119 | * Get TVShow status |
||
120 | * @return string |
||
121 | */ |
||
122 | 2 | public function getStatus(): string |
|
130 | |||
131 | /** |
||
132 | * Get TVShow title |
||
133 | * @return string |
||
134 | */ |
||
135 | 2 | public function getTitle(): string |
|
143 | |||
144 | /** |
||
145 | * Get TVShow seasons |
||
146 | * @return \Generator |
||
147 | * @throws \Exception |
||
148 | */ |
||
149 | public function getSeasons() : \Generator |
||
153 | } |
||
154 |