Interface DiscoveryStrategyInterface

Summary

Fully Qualified Name: Zend\Soap\AutoDiscover\DiscoveryStrategy\DiscoveryStrategyInterface

Description

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

Methods

Name Description Defined By
getFunctionDocumentation() Detect the functions documentation. DiscoveryStrategyInterface
getFunctionParameterType() Get the function parameters php type. DiscoveryStrategyInterface
getFunctionReturnType() Get the functions return php type. DiscoveryStrategyInterface
isFunctionOneWay() Detect if the function is a one-way or two-way operation. DiscoveryStrategyInterface

Method Details

getFunctionDocumentation()

Detect the functions documentation.

Default implementation uses docblock description.

Parameter Name Type Description
$function \AbstractFunction

Returns: string

getFunctionParameterType()

Get the function parameters php type.

Default implementation assumes the default param doc-block tag.

Parameter Name Type Description
$param \ReflectionParameter

Returns: string

getFunctionReturnType()

Get the functions return php type.

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

Parameter Name Type Description
$function \AbstractFunction
$prototype \Prototype

Returns: string

isFunctionOneWay()

Detect if the function is a one-way or two-way operation.

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

Parameter Name Type Description
$function \AbstractFunction
$prototype \Prototype

Returns: bool

Top