private function appendApiKeyToRequestParameters()
	{
		if (! $this->client->getApiKey())
			throw new AuthorizationException('Missing API key.');

		$this->setParameter(
			Client::API_KEY_PARAM_NAME,
			$this->client->getApiKey()
		);
	}
private function appendApiKeyToRequestParameters()
	{
		if (! $this->client->getApiKey())
			throw new AuthorizationException('Missing API key.');

		$this->setParameter(
			Client::API_KEY_PARAM_NAME,
			$this->client->getApiKey()
		);
	}
private function appendApiKeyToRequestParameters ( ) { if ( ! $ this -> client -> getApiKey ( ) ) throw new AuthorizationException ( 'Missing API key.' ) ; $ this -> setParameter ( Client :: API_KEY_PARAM_NAME , $ this -> client -> getApiKey ( ) ) ; }
Gets the API key from the Client instance and adds it to the request
parameters. An `AuthorizationException` is thrown when the API key is
missing from the Client.
@throws  AuthorizationException  If API key is missing.
Gets the API key from the Client instance and adds it to the request parameters . An AuthorizationException is thrown when the API key is missing from the Client .