__construct()
addMethod()
addMethods()
clearMethods()
count()
current()
getMethod()
getMethods()
hasMethod()
key()
next()
removeMethod()
rewind()
setMethods()
setOverwriteExistingMethods()
toArray()
valid()
$methods
$overwriteExistingMethods
Server methods metadata
__construct(null | array $methods)
nullarray
addMethod(array | \Zend\Server\Method\Definition $method, null | string $name) : \Zend\Server\Definition
array\Zend\Server\Method\Definition
nullstring
\Zend\Server\Exception\InvalidArgumentException |
if duplicate or invalid method provided |
|---|
addMethods(array $methods) : \Zend\Server\Definition
arrayArray of \Zend\Server\Method\Definition objects or arrays
count() : int
intgetMethods() : array
arrayArray of \Zend\Server\Method\Definition objectshasMethod(string $method) : bool
string
boolkey() : int | string
intstring
rewind() : void
setMethods(array $methods) : \Zend\Server\Definition
arrayArray of \Zend\Server\Method\Definition objects or arrays
setOverwriteExistingMethods(mixed $flag) : \Zend\Server\Definition
toArray() : array
arrayvalid() : bool
bool$methods : array
$overwriteExistingMethods : bool