public function get($name, $throwAway = false)
    {
        $client = parent::get($name, $throwAway);

        if ($client instanceof ApiKeyClientInterface) {
            $client->setApiKey(self::$apiKey);
        }

        return $client;
    }
public function get($name, $throwAway = false)
    {
        $client = parent::get($name, $throwAway);

        if ($client instanceof ApiKeyClientInterface) {
            $client->setApiKey(self::$apiKey);
        }

        return $client;
    }
public function get ( $ name , $ throwAway = false ) { $ client = parent :: get ( $ name , $ throwAway ) ; if ( $ client instanceof ApiKeyClientInterface ) { $ client -> setApiKey ( self :: $ apiKey ) ; } return $ client ; }
set the api key for api key clients

@param string $name
@param bool   $throwAway

@return ClientInterface
set the api key for api key clients