Abstract class for Zend\Soap\Wsdl\Strategy.

 Methods

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

addComplexType(string $type) : string

Parameters

$type

string

Exceptions

\Zend\Soap\Exception\InvalidArgumentException

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

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

_addArrayOfComplexType(string $singularType, string $type) : string

Parameters

$singularType

string

e.g. '\MyNamespace\MyClassname'

$type

string

e.g. '\MyNamespace\MyClassname[]'

Returns

stringtns:xsd-type e.g. 'tns:ArrayOfMyNamespace.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 PHP Type

_getSingularPhpType(string $type) : string

Parameters

$type

string

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