src/Client.php
protected function makeRequest($operation, $request)
    {
        $this->getClient()->__setSoapHeaders($this->soapHeaders());
        $response = $this->soap->{$operation}($request);

        return $this->processResponse($response);
    }
protected function makeRequest($operation, $request)
    {
        $this->getClient()->__setSoapHeaders($this->soapHeaders());
        $response = $this->soap->{$operation}($request);

        return $this->processResponse($response);
    }
protected function makeRequest ( $ operation , $ request ) { $ this -> getClient ( ) -> __setSoapHeaders ( $ this -> soapHeaders ( ) ) ; $ response = $ this -> soap -> { $ operation } ( $ request ) ; return $ this -> processResponse ( $ response ) ; }
Makes the SOAP call for a request.

@param string $operation
The operation to be called.
@param \jamesiarmes\PhpEws\Request $request
The request object for the operation.
@return \jamesiarmes\PhpEws\Response
The response object for the operation.

@suppress PhanTypeMismatchReturn
Makes the SOAP call for a request .