1 | <?php declare(strict_types = 1); |
||
29 | class TVSeason extends TVItem implements TVSeasonInterface |
||
30 | { |
||
31 | |||
32 | /** |
||
33 | * Constructor |
||
34 | * @param TmdbInterface $tmdb |
||
35 | * @param int $tv_id |
||
36 | * @param int $season_number |
||
37 | * @param array $options |
||
38 | * @throws TmdbException |
||
39 | */ |
||
40 | 35 | public function __construct(TmdbInterface $tmdb, int $tv_id, int $season_number, array $options = array()) |
|
49 | |||
50 | /** |
||
51 | * Id |
||
52 | * @return int |
||
53 | */ |
||
54 | 3 | public function getId() : int |
|
61 | |||
62 | /** |
||
63 | * Air date |
||
64 | * @return string |
||
65 | */ |
||
66 | 2 | public function getAirDate() : string |
|
73 | |||
74 | /** |
||
75 | * Episode count |
||
76 | * @return int |
||
77 | */ |
||
78 | 2 | public function getEpisodeCount() : int |
|
85 | |||
86 | /** |
||
87 | * Season number |
||
88 | * @return int |
||
89 | */ |
||
90 | 2 | public function getSeasonNumber() : int |
|
97 | |||
98 | /** |
||
99 | * Episodes list |
||
100 | * @return \Generator|Results\TVEpisode |
||
101 | */ |
||
102 | 21 | public function getEpisodes() : \Generator |
|
111 | |||
112 | /** |
||
113 | * Name |
||
114 | * @return string |
||
115 | */ |
||
116 | 2 | public function getName() : string |
|
123 | |||
124 | /** |
||
125 | * Overview |
||
126 | * @return string |
||
127 | */ |
||
128 | 2 | public function getOverview() : string |
|
135 | } |
||
136 |