package Default

 Methods

Construct Composite WSDL Strategy.

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

Parameters

$typeMap

array

$defaultStrategy

string\Zend\Soap\Wsdl\ComplexTypeStrategy\ComplexTypeStrategyInterface

Create a complex type based on a strategy

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

Parameters

$type

string

Exceptions

\Zend\Soap\Exception\InvalidArgumentException

Returns

stringXSD type

Connect a complex type to a given strategy.

connectTypeToStrategy(string $type, string|\Zend\Soap\Wsdl\ComplexTypeStrategy\ComplexTypeStrategyInterface $strategy) : \Zend\Soap\Wsdl\ComplexTypeStrategy\Composite

Parameters

$type

string

$strategy

string\Zend\Soap\Wsdl\ComplexTypeStrategy\ComplexTypeStrategyInterface

Exceptions

\Zend\Soap\Exception\InvalidArgumentException

Returns

\Zend\Soap\Wsdl\ComplexTypeStrategy\Composite

Return default strategy of this composite

getDefaultStrategy() : \Zend\Soap\Wsdl\ComplexTypeStrategy\ComplexTypeStrategyInterface

Exceptions

\Zend\Soap\Exception\InvalidArgumentException

Returns

\Zend\Soap\Wsdl\ComplexTypeStrategy\ComplexTypeStrategyInterface

Return specific strategy or the default strategy of this type.

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

Parameters

$type

string

Exceptions

\Zend\Soap\Exception\InvalidArgumentException

Returns

\Zend\Soap\Wsdl\ComplexTypeStrategy\ComplexTypeStrategyInterface

Method accepts the current WSDL context file.

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

Parameters

$context

\Zend\Soap\Wsdl

Returns

\Zend\Soap\Wsdl\ComplexTypeStrategy\Composite

 Properties

 

Context WSDL file that this composite serves

$context : \Zend\Soap\Wsdl | null

Default

 

Default Strategy of this composite

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

Default

 

Typemap of Complex Type => Strategy pairs.

$typeMap : array

Default

array()