__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
array
Array of \Zend\Server\Method\Definition objects or arrays
count() : int
int
getMethods() : array
array
Array of \Zend\Server\Method\Definition objectshasMethod(string $method) : bool
string
bool
key() : int | string
int
string
rewind() : void
setMethods(array $methods) : \Zend\Server\Definition
array
Array of \Zend\Server\Method\Definition objects or arrays
setOverwriteExistingMethods(mixed $flag) : \Zend\Server\Definition
toArray() : array
array
valid() : bool
bool
$methods : array
$overwriteExistingMethods : bool