You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,8 +44,8 @@ So, basically, you MUST at least override the methods declared by the PHP interf
44
44
#### Description
45
45
This interface must be used to define a new [SoapClient](http://php.net/manual/en/class.soapclient.php) base class for any ```ServiceType``` class generated by [PackageGenerator](https://github.com/WsdlToPhp/PackageGenerator).
46
46
47
-
#### What has to be implemented?
48
-
Here are the constants defined by this interface and their utility:
47
+
#### Options
48
+
Here are the constants/options defined by this interface and their utility:
49
49
-**DEFAULT_SOAP_CLIENT_CLASS = '\SoapClient'**: this is the default [SoapClient](http://php.net/manual/en/class.soapclient.php) class that is used to send the request. Feel free to override it if you want to use another [SoapClient](http://php.net/manual/en/class.soapclient.php) class
50
50
-**OPTION_PREFIX**: this is the prefix used for any constant's option name
51
51
-**WSDL_URL**: option index used to pass the WSDL url
@@ -73,6 +73,7 @@ Here are the constants defined by this interface and their utility:
73
73
-**WSDL_AUTHENTICATION**: authentication method may be either ```SOAP_AUTHENTICATION_BASIC``` (default) or ```SOAP_AUTHENTICATION_DIGEST```
74
74
-**WSDL_SSL_METHOD**: one of ```SOAP_SSL_METHOD_TLS```, ```SOAP_SSL_METHOD_SSLv2```, ```SOAP_SSL_METHOD_SSLv3``` or ```SOAP_SSL_METHOD_SSLv23```
75
75
76
+
#### What has to be implemented?
76
77
Here are the methods that must be implemented and why:
77
78
-**__construct(array $wsdlOptions = array(), $resetSoapClient = true)**: the constructor must be able to handl one of the listed constants above
78
79
-**getSoapClient()**: must return the [SoapClient](http://php.net/manual/en/class.soapclient.php) object that is responsible fo sending the requests.
0 commit comments