protected function getSoap()
    {
        if ($this->SOAPClient === null) {
            $this->SOAPClient = new \SoapClient($this->url,
                [
                    'trace' => 1,
                    'cache_wsdl' => WSDL_CACHE_NONE
                ]);
            if ($this->location) {
                $this->SOAPClient->__setLocation($this->location);
            }
        }
        return $this->SOAPClient;
    }
protected function getSoap()
    {
        if ($this->SOAPClient === null) {
            $this->SOAPClient = new \SoapClient($this->url,
                [
                    'trace' => 1,
                    'cache_wsdl' => WSDL_CACHE_NONE
                ]);
            if ($this->location) {
                $this->SOAPClient->__setLocation($this->location);
            }
        }
        return $this->SOAPClient;
    }
protected function getSoap ( ) { if ( $ this -> SOAPClient === null ) { $ this -> SOAPClient = new \ SoapClient ( $ this -> url , [ 'trace' => 1 , 'cache_wsdl' => WSDL_CACHE_NONE ] ) ; if ( $ this -> location ) { $ this -> SOAPClient -> __setLocation ( $ this -> location ) ; } } return $ this -> SOAPClient ; }
Get SOAP object

@return \SoapClient
Get SOAP object