1 | <?php |
||
9 | class TVShow extends Item implements TVShowInterface |
||
10 | { |
||
11 | |||
12 | 30 | public function __construct(Tmdb $tmdb, int $tv_id, array $options = array()) |
|
16 | |||
17 | /** |
||
18 | * Get TV show id |
||
19 | * @return int |
||
20 | */ |
||
21 | 1 | public function getId(): int |
|
25 | |||
26 | /** |
||
27 | * Get TVSHow genres |
||
28 | * @return array |
||
29 | */ |
||
30 | 2 | public function getGenres(): array |
|
37 | |||
38 | /** |
||
39 | * Get TVshow note |
||
40 | * @return float |
||
41 | */ |
||
42 | 2 | public function getNote(): float |
|
49 | |||
50 | /** |
||
51 | * Get TVshow number of episodes |
||
52 | * @return int |
||
53 | */ |
||
54 | 2 | public function getNumberEpisodes(): int |
|
61 | |||
62 | /** |
||
63 | * Get TVShow number of seasons |
||
64 | * @return int |
||
65 | */ |
||
66 | 2 | public function getNumberSeasons(): int |
|
73 | |||
74 | /** |
||
75 | * Get TVShow original title |
||
76 | * @return string |
||
77 | */ |
||
78 | 2 | public function getOriginalTitle(): string |
|
85 | |||
86 | /** |
||
87 | * Get TVShow overview |
||
88 | * @return string |
||
89 | */ |
||
90 | 2 | public function getOverview(): string |
|
97 | |||
98 | /** |
||
99 | * Get TVShow release date |
||
100 | * @return string |
||
101 | */ |
||
102 | 2 | public function getReleaseDate(): string |
|
109 | |||
110 | /** |
||
111 | * Get TVShow status |
||
112 | * @return string |
||
113 | */ |
||
114 | 2 | public function getStatus(): string |
|
121 | |||
122 | /** |
||
123 | * Get TVShow title |
||
124 | * @return string |
||
125 | */ |
||
126 | 2 | public function getTitle(): string |
|
133 | |||
134 | /** |
||
135 | * Get TVShow seasons |
||
136 | * @return \Generator |
||
137 | * @throws \Exception |
||
138 | */ |
||
139 | 6 | public function getSeasons(): \Generator |
|
148 | } |
||
149 |