Describes how types, return values and method details are detected during AutoDiscovery of a WSDL.

package Default

 Methods

Returns description from phpdoc block

getFunctionDocumentation(\Zend\Server\Reflection\AbstractFunction $function) : string

Default implementation uses docblock description.

inherited_from \Zend\Soap\AutoDiscover\DiscoveryStrategy\DiscoveryStrategyInterface::getFunctionDocumentation()

Parameters

$function

\Zend\Server\Reflection\AbstractFunction

Returns

string

Return parameter type

getFunctionParameterType(\Zend\Server\Reflection\ReflectionParameter $param) : string

Default implementation assumes the default param doc-block tag.

inherited_from \Zend\Soap\AutoDiscover\DiscoveryStrategy\DiscoveryStrategyInterface::getFunctionParameterType()

Parameters

$param

\Zend\Server\Reflection\ReflectionParameter

Returns

string

Return function return type

getFunctionReturnType(\Zend\Server\Reflection\AbstractFunction $function, \Zend\Server\Reflection\Prototype $prototype) : string

Default implementation assumes the value of the return doc-block tag.

inherited_from \Zend\Soap\AutoDiscover\DiscoveryStrategy\DiscoveryStrategyInterface::getFunctionReturnType()

Parameters

$function

\Zend\Server\Reflection\AbstractFunction

$prototype

\Zend\Server\Reflection\Prototype

Returns

string

Return true if function is one way (return nothing)

isFunctionOneWay(\Zend\Server\Reflection\AbstractFunction $function, \Zend\Server\Reflection\Prototype $prototype) : boolean

Default implementation assumes one-way, when return value is "void".

inherited_from \Zend\Soap\AutoDiscover\DiscoveryStrategy\DiscoveryStrategyInterface::isFunctionOneWay()

Parameters

$function

\Zend\Server\Reflection\AbstractFunction

$prototype

\Zend\Server\Reflection\Prototype

Returns

boolean