Skip to content

Commit 2b1f979

Browse files
committed
issue #7 - add location option
1 parent e6c15cc commit 2b1f979

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/AbstractSoapClientBase.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ public function getSoapClientClassName($soapClientClassName = null)
107107
* @uses AbstractSoapClientBase::WSDL_ENCODING
108108
* @uses AbstractSoapClientBase::WSDL_EXCEPTIONS
109109
* @uses AbstractSoapClientBase::WSDL_FEATURES
110+
* @uses AbstractSoapClientBase::WSDL_LOCATION
110111
* @uses AbstractSoapClientBase::WSDL_LOGIN
111112
* @uses AbstractSoapClientBase::WSDL_PASSWORD
112113
* @uses AbstractSoapClientBase::WSDL_SOAP_VERSION
@@ -138,6 +139,7 @@ public static function getDefaultWsdlOptions()
138139
self::WSDL_ENCODING => null,
139140
self::WSDL_EXCEPTIONS => true,
140141
self::WSDL_FEATURES => SOAP_SINGLE_ELEMENT_ARRAYS | SOAP_USE_XSI_ARRAY_TYPE,
142+
self::WSDL_LOCATION => null,
141143
self::WSDL_LOGIN => null,
142144
self::WSDL_PASSWORD => null,
143145
self::WSDL_SOAP_VERSION => null,

src/SoapClientInterface.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ interface SoapClientInterface
6262
* @var string
6363
*/
6464
const WSDL_LOCAL_CERT = 'wsdl_local_cert';
65+
/**
66+
* Option key to define WSDL location
67+
* @var string
68+
*/
69+
const WSDL_LOCATION = 'wsdl_location';
6570
/**
6671
* Option key to define WSDL login
6772
* @var string

0 commit comments

Comments
 (0)