PHP Class Geocoder\Provider\Yandex

Author: Antoine Corcy ([email protected])
Inheritance: extends AbstractHttpProvider, implements Geocoder\Provider\LocaleAwareProvider, use trait Geocoder\Provider\LocaleTrait
Show file Open project: willdurand/geocoder Class Usage Examples

Public Methods

Method Description
__construct ( Http\Client\HttpClient $client, string $locale = null, string $toponym = null )
geocode ( $address ) {@inheritDoc}
getName ( ) {@inheritDoc}
reverse ( $latitude, $longitude ) {@inheritDoc}

Private Methods

Method Description
executeQuery ( string $query )

Method Details

__construct() public method

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).

geocode() public method

{@inheritDoc}
public geocode ( $address )

getName() public method

{@inheritDoc}
public getName ( )

reverse() public method

{@inheritDoc}
public reverse ( $latitude, $longitude )