for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Provider\Yandex\Model;
use Geocoder\Model\Address;
/**
* @author Tobias Nyholm <[email protected]>
final class YandexAddress extends Address
{
* @var string|null
private $precision;
* The name of this location.
private $name;
* The kind of this location.
private $kind;
* @return null|string
public function getPrecision()
return $this->precision;
}
* @param null|string $precision
* @return YandexAddress
public function withPrecision(string $precision = null): self
$new = clone $this;
$new->precision = $precision;
return $new;
public function getName()
return $this->name;
* @param null|string $name
public function withName(string $name = null): self
$new->name = $name;
* @return string|null
public function getKind(): string
return $this->kind;
* @param string|null $kind
public function withKind(string $kind = null): self
$new->kind = $kind;