src/Client.php
protected function processResponse($response)
    {
        // If the soap call failed then we need to throw an exception.
        $code = $this->soap->getResponseCode();
        if ($code != 200) {
            throw new \Exception(
                "SOAP client returned status of $code.",
                $code
            );
        }

        return $response;
    }
protected function processResponse($response)
    {
        // If the soap call failed then we need to throw an exception.
        $code = $this->soap->getResponseCode();
        if ($code != 200) {
            throw new \Exception(
                "SOAP client returned status of $code.",
                $code
            );
        }

        return $response;
    }
protected function processResponse ( $ response ) { // If the soap call failed then we need to throw an exception. $ code = $ this -> soap -> getResponseCode ( ) ; if ( $ code != 200 ) { throw new \ Exception ( "SOAP client returned status of $code." , $ code ) ; } return $ response ; }
Process a response to verify that it succeeded and take the appropriate
action

@throws \Exception

@param \stdClass $response
@return \stdClass
Process a response to verify that it succeeded and take the appropriate action