Class ReflectionDiscovery

Summary

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

Description

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

Methods

Name Description Defined By
getFunctionDocumentation() Returns description from phpdoc block ReflectionDiscovery
getFunctionParameterType() Return parameter type ReflectionDiscovery
getFunctionReturnType() Return function return type ReflectionDiscovery
isFunctionOneWay() Return true if function is one way (return nothing) ReflectionDiscovery

Method Details

getFunctionDocumentation()

Returns description from phpdoc block

Parameter Name Type Description
$function \AbstractFunction

Returns: string

getFunctionParameterType()

Return parameter type

Parameter Name Type Description
$param \ReflectionParameter

Returns: string

getFunctionReturnType()

Return function return type

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

Returns: string

isFunctionOneWay()

Return true if function is one way (return nothing)

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

Returns: bool

Top