Sulu\Bundle\LocationBundle\Geolocator\Service\GoogleGeolocator::__construct PHP Метод

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

public __construct ( Guzzle\Http\ClientInterface $client, string $apiKey )
$client Guzzle\Http\ClientInterface Guzzle HTTP client
$apiKey string API key (can be empty string)
    public function __construct(ClientInterface $client, $apiKey)
    {
        $this->client = $client;
        $this->apiKey = $apiKey;
    }
GoogleGeolocator