Geocoder\Provider\Yandex::__construct PHP Метод

__construct() публичный Метод

public __construct ( Http\Client\HttpClient $client, string $locale = null, string $toponym = null )
$client Http\Client\HttpClient An HTTP adapter.
$locale string A locale (optional).
$toponym string Toponym biasing only for reverse geocoding (optional).
    public function __construct(HttpClient $client, $locale = null, $toponym = null)
    {
        parent::__construct($client);
        $this->locale = $locale;
        $this->toponym = $toponym;
    }