convert to unix line endings

This commit is contained in:
Andreas Schamberger
2011-10-16 19:49:24 +02:00
parent cfe1a966ab
commit 101169f7d6
3 changed files with 618 additions and 618 deletions

View File

@ -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.