Geocoder\Provider\GoogleMaps::business PHP Method

business() public static method

Google Maps for Business https://developers.google.com/maps/documentation/business/
public static business ( Http\Client\HttpClient $client, string $clientId, string $privateKey = null, string $locale = null, string $region = null, boolean $useSsl = false, string $apiKey = null ) : GoogleMaps
$client Http\Client\HttpClient An HTTP adapter
$clientId string Your Client ID
$privateKey string Your Private Key (optional)
$locale string A locale (optional)
$region string Region biasing (optional)
$useSsl boolean Whether to use an SSL connection (optional)
$apiKey string Google Geocoding API key (optional)
return GoogleMaps
    public static function business(HttpClient $client, $clientId, $privateKey = null, $locale = null, $region = null, $useSsl = false, $apiKey = null)
    {
        $provider = new self($client, $locale, $region, $useSsl, $apiKey);
        $provider->clientId = $clientId;
        $provider->privateKey = $privateKey;
        return $provider;
    }