| 1 | <?php |
||
| 18 | class Season |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @var integer |
||
| 22 | */ |
||
| 23 | public $id; |
||
| 24 | /** |
||
| 25 | * @var integer |
||
| 26 | */ |
||
| 27 | public $seasonNumber; |
||
| 28 | /** |
||
| 29 | * @var integer|null |
||
| 30 | */ |
||
| 31 | public $episodeCount; |
||
| 32 | /** |
||
| 33 | * @var string|null |
||
| 34 | */ |
||
| 35 | public $airDate; |
||
| 36 | /** |
||
| 37 | * @var string|null |
||
| 38 | */ |
||
| 39 | public $poster; |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Season constructor. |
||
| 43 | * |
||
| 44 | * @param int $id |
||
| 45 | * @param int $seasonNumber |
||
| 46 | * @param int|null $episodeCount |
||
| 47 | * @param string|null $airDate |
||
| 48 | * @param string|null $poster |
||
| 49 | */ |
||
| 50 | public function __construct(int $id, int $seasonNumber, int $episodeCount = null, string $airDate = null, string $poster = null) |
||
| 58 | } |
||
| 59 |