| 1 | <?php |
||
| 20 | final class YandexAddress extends Address |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @var string|null |
||
| 24 | */ |
||
| 25 | private $precision; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * The name of this location. |
||
| 29 | * |
||
| 30 | * @var string|null |
||
| 31 | */ |
||
| 32 | private $name; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * The kind of this location. |
||
| 36 | * |
||
| 37 | * @var string|null |
||
| 38 | */ |
||
| 39 | private $kind; |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return null|string |
||
| 43 | */ |
||
| 44 | public function getPrecision() |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @param null|string $precision |
||
| 51 | * |
||
| 52 | * @return YandexAddress |
||
| 53 | */ |
||
| 54 | 9 | public function withPrecision(string $precision = null): self |
|
| 61 | |||
| 62 | /** |
||
| 63 | * @return null|string |
||
| 64 | */ |
||
| 65 | 1 | public function getName() |
|
| 69 | |||
| 70 | /** |
||
| 71 | * @param null|string $name |
||
| 72 | * |
||
| 73 | * @return YandexAddress |
||
| 74 | */ |
||
| 75 | 9 | public function withName(string $name = null): self |
|
| 82 | |||
| 83 | /** |
||
| 84 | * @return string|null |
||
| 85 | */ |
||
| 86 | 1 | public function getKind(): string |
|
| 90 | |||
| 91 | /** |
||
| 92 | * @param string|null $kind |
||
| 93 | * |
||
| 94 | * @return YandexAddress |
||
| 95 | */ |
||
| 96 | 9 | public function withKind(string $kind = null): self |
|
| 103 | } |
||
| 104 |