Abstract class for Zend\Soap\Wsdl\Strategy.

 Methods

Add an unbounded ArrayOfType based on the xsd:sequence syntax if type[] is detected in return value doc comment.

addComplexType(string $type) : string

Parameters

$type

string

Exceptions

\Zend\Soap\Exception\InvalidArgumentException if class does not exist

Returns

stringtns:xsd-type

Return the current WSDL context object

getContext() : \Zend\Soap\Wsdl
Inherited

inherited_from \Zend\Soap\Wsdl\ComplexTypeStrategy\AbstractComplexTypeStrategy::getContext()
inherited_from \Zend\Soap\Wsdl\ComplexTypeStrategy\DefaultComplexType::getContext()

Returns

Look through registered types

scanRegisteredTypes(string $phpType) : string
Inherited

inherited_from \Zend\Soap\Wsdl\ComplexTypeStrategy\AbstractComplexTypeStrategy::scanRegisteredTypes()
inherited_from \Zend\Soap\Wsdl\ComplexTypeStrategy\DefaultComplexType::scanRegisteredTypes()

Parameters

$phpType

string

Returns

string

Set the WSDL Context object this strategy resides in.

setContext(\Zend\Soap\Wsdl $context) 
Inherited

inherited_from \Zend\Soap\Wsdl\ComplexTypeStrategy\AbstractComplexTypeStrategy::setContext()
inherited_from \Zend\Soap\Wsdl\ComplexTypeStrategy\DefaultComplexType::setContext()

Parameters

$context

\Zend\Soap\Wsdl

Append the complex type definition to the WSDL via the context access

_addSequenceType(string $arrayType, string $childType, string $phpArrayType) 

Parameters

$arrayType

string

Array type name (e.g. 'tns:ArrayOfArrayOfInt')

$childType

string

Qualified array items type (e.g. 'xsd:int', 'tns:ArrayOfInt')

$phpArrayType

string

PHP type (e.g. 'int[][]', '\MyNamespace\MyClassName[][][]')

Return the array nesting level based on the type name

_getNestedCount(string $type) : int

Parameters

$type

string

Returns

int

From a nested definition with type[], get the singular xsd:type

_getSingularType(string $type) : string

Parameters

$type

string

Returns

string

Return the ArrayOf or simple type name based on the singular xsdtype and the nesting level

_getTypeBasedOnNestingLevel(string $singularType, int $level) : string

Parameters

$singularType

string

$level

int

Returns

string

 Properties

 

Context object

$context : \Zend\Soap\Wsdl
Inherited

inherited_from \Zend\Soap\Wsdl\ComplexTypeStrategy\AbstractComplexTypeStrategy::$$context
inherited_from \Zend\Soap\Wsdl\ComplexTypeStrategy\DefaultComplexType::$$context