Méthode | Description | |
---|---|---|
__construct ( string $key = '' ) | Constructor | |
get ( $address ) : boolean | object | Sends request to the passed Google Geocode API URL and fetches the address details and returns them | |
getServiceUrl ( ) : string | Returns the private $serviceUrl |
public __construct ( string $key = '' ) | ||
$key | string | Google Maps Geocoding API key |
public getServiceUrl ( ) : string | ||
Résultat | string | The service URL |