| 1 | <?php |
||
| 9 | class CityId implements GetParameterInterface |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var int |
||
| 13 | */ |
||
| 14 | protected $cityId; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * CityId constructor. |
||
| 18 | * |
||
| 19 | * @param int $cityId |
||
| 20 | */ |
||
| 21 | public function __construct(int $cityId) |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @return int |
||
| 28 | */ |
||
| 29 | public function getCityId(): int |
||
| 33 | |||
| 34 | /** |
||
| 35 | * {@inheritdoc} |
||
| 36 | */ |
||
| 37 | public function getGetParameterValue(): string |
||
| 41 | |||
| 42 | /** |
||
| 43 | * {@inheritdoc} |
||
| 44 | */ |
||
| 45 | public function getGetParameterName(): string |
||
| 49 | } |
||
| 50 |