Abstract Server implementation

package Default

 Methods

Constructor

__construct() 

Setup server description

Returns a list of registered methods

getFunctions() : \Zend\Server\Definition

Returns an array of method definitions.

inherited_from \Zend\Server\Server::getFunctions()

Returns

\Zend\Server\Definition

Build callback for method signature

_buildCallback(\Zend\Server\Reflection\AbstractFunction $reflection) : \Zend\Server\Method\Callback

Parameters

$reflection

\Zend\Server\Reflection\AbstractFunction

Returns

\Zend\Server\Method\Callback

Build a method signature

_buildSignature(\Zend\Server\Reflection\AbstractFunction $reflection, null|string|object $class = null) : \Zend\Server\Method\Definition

Parameters

$reflection

\Zend\Server\Reflection\AbstractFunction

$class

nullstringobject

Exceptions

\Zend\Server\Exception\RuntimeException on duplicate entry

Returns

\Zend\Server\Method\Definition

Dispatch method

_dispatch(\Zend\Server\Method\Definition $invokable, array $params) : mixed

Parameters

$invokable

\Zend\Server\Method\Definition

$params

array

Returns

mixed

Map PHP type to protocol type

_fixType(string $type) : string

Parameters

$type

string

Returns

string

 Properties

 

Flag; whether or not overwriting existing methods is allowed

$overwriteExistingMethods : boolean

Default

false
 

$table

$table : \Zend\Server\Definition

Default