__construct()
addPrototype()
addPrototypes()
getCallback()
getInvokeArguments()
getMethodHelp()
getName()
getObject()
getPrototypes()
setCallback()
setInvokeArguments()
setMethodHelp()
setName()
setObject()
setOptions()
setPrototypes()
toArray()
$callback
$invokeArguments
$methodHelp
$name
$object
$prototypes
Method definition metadata
__construct(null | array $options)
nullarray
addPrototype(array | \Zend\Server\Method\Prototype $prototype) : \Zend\Server\Method\Definition
array\Zend\Server\Method\Prototype
\Zend\Server\Exception\InvalidArgumentException |
---|
addPrototypes(array $prototypes) : \Zend\Server\Method\Definition
array
Array of \Zend\Server\Method\Prototype objects or arrays
getInvokeArguments() : array
array
getMethodHelp() : string
string
getName() : string
string
getObject() : null | object
null
object
getPrototypes() : array
array
$prototypes Array of \Zend\Server\Method\Prototype objects or arrayssetCallback(array | \Zend\Server\Method\Callback $callback) : \Zend\Server\Method\Definition
array\Zend\Server\Method\Callback
\Zend\Server\Exception\InvalidArgumentException |
---|
setObject(object $object) : \Zend\Server\Method\Definition
setPrototypes(array $prototypes) : \Zend\Server\Method\Definition
array
Array of \Zend\Server\Method\Prototype objects or arrays
toArray() : array
array
$invokeArguments : array
$methodHelp : string
$name : string
$object : null | object
$prototypes : array