Zend\Soap\Wsdl::addBindingOperation
Add an operation to a binding element
Signature
public function addBindingOperation(DOMElement
$binding,
[string
$name = false,
[array|bool
$input = false,
[array|bool
$output = false,
[array|bool
$fault = false,
[int
$soapVersion = SOAP_1_1]]]]] )
Parameters
$binding
—
object
- A binding XML_Tree_Node returned by {@link function addBinding}
$name
—
string
$input
—
object
- An array of attributes for the input element,
allowed keys are: 'use', 'namespace', 'encodingStyle'.
$output
—
object
- An array of attributes for the output element,
allowed keys are: 'use', 'namespace', 'encodingStyle'.
$fault
—
object
- An array with attributes for the fault element,
allowed keys are: 'name', 'use', 'namespace', 'encodingStyle'.
$soapVersion
—
int
- SOAP version: SOAP_1_1 or SOAP_1_2, default: SOAP_1_1
Returns
- DOMElement
- The new Operation's XML_Tree_Node for use with {@link function addSoapOperation} and {@link function addDocumentation}