convert to unix line endings
This commit is contained in:
@ -22,31 +22,31 @@ namespace BeSimple\SoapClient;
|
||||
*/
|
||||
class SoapClient extends \SoapClient
|
||||
{
|
||||
/**
|
||||
* Last request headers.
|
||||
*
|
||||
* @var string
|
||||
/**
|
||||
* Last request headers.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
private $lastRequestHeaders = '';
|
||||
|
||||
/**
|
||||
* Last request.
|
||||
*
|
||||
* @var string
|
||||
|
||||
/**
|
||||
* Last request.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
private $lastRequest = '';
|
||||
|
||||
/**
|
||||
* Last response headers.
|
||||
*
|
||||
* @var string
|
||||
|
||||
/**
|
||||
* Last response headers.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
private $lastResponseHeaders = '';
|
||||
|
||||
/**
|
||||
* Last response.
|
||||
*
|
||||
* @var string
|
||||
|
||||
/**
|
||||
* Last response.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
private $lastResponse = '';
|
||||
|
||||
@ -65,7 +65,7 @@ class SoapClient extends \SoapClient
|
||||
private $wsdlFile = null;
|
||||
|
||||
/**
|
||||
* Extended constructor that saves the options as the parent class'
|
||||
* Extended constructor that saves the options as the parent class'
|
||||
* property is private.
|
||||
*
|
||||
* @param string $wsdl
|
||||
@ -99,16 +99,16 @@ class SoapClient extends \SoapClient
|
||||
}
|
||||
}
|
||||
// store local copy as ext/soap's property is private
|
||||
$this->options = $options;
|
||||
$this->options = $options;
|
||||
// disable obsolete trace option for native SoapClient as we need to do our own tracing anyways
|
||||
$options['trace'] = false;
|
||||
// disable WSDL caching as we handle WSDL caching for remote URLs ourself
|
||||
// disable WSDL caching as we handle WSDL caching for remote URLs ourself
|
||||
$options['cache_wsdl'] = WSDL_CACHE_NONE;
|
||||
// load WSDL and run parent constructor
|
||||
// can't be loaded later as we need it already in the parent constructor
|
||||
$this->wsdlFile = $this->loadWsdl($wsdl);
|
||||
parent::__construct($this->wsdlFile, $options);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Perform HTTP request with cURL.
|
||||
@ -186,7 +186,7 @@ class SoapClient extends \SoapClient
|
||||
// destruct curl object
|
||||
unset($curl);
|
||||
return $response;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Custom request method to be able to modify the SOAP messages.
|
||||
|
Reference in New Issue
Block a user