| 1 | <?php |
||
| 7 | class CarInput extends VehicleAbstract |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var string |
||
| 11 | */ |
||
| 12 | protected $id; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var int |
||
| 16 | */ |
||
| 17 | protected $seatsNumber; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @param string $id |
||
| 21 | * @param string $manufacturer |
||
| 22 | * @param string $model |
||
| 23 | * @param int $seatsNumber |
||
| 24 | */ |
||
| 25 | public function __construct(string $id, string $manufacturer, string $model, int $seatsNumber) |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @return int |
||
| 34 | */ |
||
| 35 | public function getSeatsNumber(): int |
||
| 39 | } |
||
| 40 |