Abstract class for Zend\Soap\Wsdl\Strategy.

package Default
inherited_from \Zend\Soap\Wsdl\ComplexTypeStrategy\DefaultComplexType

 Methods

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

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

Parameters

$type

string

Returns

stringtns:xsd-type

Add a complex type by recursively using all the class properties fetched via Reflection.

addComplexType(string $type) : string
Inherited

Parameters

$type

string

Name of the class to be specified

Exceptions

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

Returns

stringXSD Type for the given PHP type

Return the current WSDL context object

getContext() : \Zend\Soap\Wsdl
Inherited

Returns

\Zend\Soap\Wsdl

Look through registered types

scanRegisteredTypes(string $phpType) : string
Inherited

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\ComplexTypeStrategyInterface::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) : integer

Parameters

$type

string

Returns

integer

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, integer $level) : string

Parameters

$singularType

string

$level

integer

Returns

string

 Properties

 

Context object

$context : \Zend\Soap\Wsdl

Default