Pricing/Api/Provider/Europa.php
private function getClient()
    {
        if (null !== $this->client) {
            return $this->client;
        }

        try {
            return $this->client = new \SoapClient(static::ENDPOINT);
        } catch (\SoapFault $oExcept) {
            if ($this->debug) {
                @trigger_error('Failed to connect to the europa web service: ' . $oExcept->getMessage());
            }
        }

        return $this->client = null;
    }
private function getClient()
    {
        if (null !== $this->client) {
            return $this->client;
        }

        try {
            return $this->client = new \SoapClient(static::ENDPOINT);
        } catch (\SoapFault $oExcept) {
            if ($this->debug) {
                @trigger_error('Failed to connect to the europa web service: ' . $oExcept->getMessage());
            }
        }

        return $this->client = null;
    }
private function getClient ( ) { if ( null !== $ this -> client ) { return $ this -> client ; } try { return $ this -> client = new \ SoapClient ( static :: ENDPOINT ) ; } catch ( \ SoapFault $ oExcept ) { if ( $ this -> debug ) { @ trigger_error ( 'Failed to connect to the europa web service: ' . $ oExcept -> getMessage ( ) ) ; } } return $ this -> client = null ; }
Returns the soap client.

@return \SoapClient
Returns the soap client .