Zend_Soap_Wsdl_Strategy_Composite

 Methods

Construct Composite WSDL Strategy.

__construct(array $typeMap, string | \Zend\Soap\Wsdl\ComplexTypeStrategy\ComplexTypeStrategyInterface $defaultStrategy) 

Parameters

$typeMap

array

Create a complex type based on a strategy

addComplexType(string $type) : string

Parameters

$type

string

Exceptions

\Zend\Soap\Exception\InvalidArgumentException

Returns

stringXSD type

Return specific strategy or the default strategy of this type.

getStrategyOfType(string $type) : \Zend\Soap\Wsdl\ComplexTypeStrategy\ComplexTypeStrategyInterface

Method accepts the current WSDL context file.

setContext(\Zend\Soap\Wsdl $context) : \Zend\Soap\Wsdl\ComplexTypeStrategy\Composite

 Properties

 

Context WSDL file that this composite serves

$context : \Zend\Soap\Wsdl | null

 

Default Strategy of this composite

$defaultStrategy : string | \Zend\Soap\Wsdl\ComplexTypeStrategy\ComplexTypeStrategyInterface

 

Typemap of Complex Type => Strategy pairs.

$typeMap : array