protected function before()
    {
        if (    empty($this->client)
            ||  empty($this->clientHash)
            ||  $this->clientHash !== $this->makeSoapClientHash()
        ) {
            $this->initializeClient();
        }
    }
protected function before()
    {
        if (    empty($this->client)
            ||  empty($this->clientHash)
            ||  $this->clientHash !== $this->makeSoapClientHash()
        ) {
            $this->initializeClient();
        }
    }
protected function before ( ) { if ( empty ( $ this -> client ) || empty ( $ this -> clientHash ) || $ this -> clientHash !== $ this -> makeSoapClientHash ( ) ) { $ this -> initializeClient ( ) ; } }
Runs before any call is made

Initializes SoapClient before first call is made or when changed settings require it
Runs before any call is made