PHP Class Geocoder\Provider\TomTom

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

Méthodes publiques

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

Private Methods

Méthode Description
executeQuery ( string $query )
getResultArray ( SimpleXmlElement $data )

Method Details

__construct() public méthode

public __construct ( Http\Client\HttpClient $client, string $apiKey, string $locale = null )
$client Http\Client\HttpClient An HTTP adapter.
$apiKey string An API key.
$locale string A locale (optional).

geocode() public méthode

{@inheritDoc}
public geocode ( $address )

getName() public méthode

{@inheritDoc}
public getName ( )

reverse() public méthode

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