Abstract class for Zend\Soap\Wsdl\Strategy.

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

 Methods

Add an ArrayOfType based on the xsd:complexType 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

Exceptions

\Zend\Soap\Exception\InvalidArgumentException

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

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

Parameters

$type

string

Returns

integer

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

Default