Server methods metadata
Set flag indicating whether or not overwriting existing methods is allowed
| Parameters: | mixed – |
|---|---|
| Return type: | ZendServerDefinition |
Add method to definition
| Parameters: |
|
|---|---|
| Return type: | ZendServerDefinition |
| Throws : | ZendServerExceptionInvalidArgumentException if duplicate or invalid method provided |
Add multiple methods
| Parameters: | array – Array of ZendServerMethodDefinition objects or arrays |
|---|---|
| Return type: | ZendServerDefinition |
Set all methods at once (overwrite)
| Parameters: | array – Array of ZendServerMethodDefinition objects or arrays |
|---|---|
| Return type: | ZendServerDefinition |
Does the definition have the given method?
| Parameters: | string – |
|---|---|
| Return type: | bool |
Get a given method definition
| Parameters: | string – |
|---|---|
| Return type: | null|ZendServerMethodDefinition |
Get all method definitions
| Return type: | array Array of ZendServerMethodDefinition objects |
|---|
Remove a method definition
| Parameters: | string – |
|---|---|
| Return type: | ZendServerDefinition |
Clear all method definitions
| Return type: | ZendServerDefinition |
|---|
Countable: count of methods
| Return type: | int |
|---|
Iterator: current item
| Return type: | MethodDefinition |
|---|
Iterator: current item key
| Return type: | int|string |
|---|
Iterator: advance to next method
| Return type: | MethodDefinition |
|---|
Iterator: return to first method
| Return type: | void |
|---|
Iterator: is the current index valid?
| Return type: | bool |
|---|