Method definition metadata
Set object state from options
| Parameters: | array – |
|---|---|
| Return type: | ZendServerMethodDefinition |
Set method name
| Parameters: | string – |
|---|---|
| Return type: | ZendServerMethodDefinition |
Set method callback
| Parameters: | array|ZendServerMethodCallback – |
|---|---|
| Throws ServerExceptionInvalidArgumentException: | |
| Return type: | ZendServerMethodDefinition |
Add prototype to method definition
| Parameters: | array|ZendServerMethodPrototype – |
|---|---|
| Throws ServerExceptionInvalidArgumentException: | |
| Return type: | ZendServerMethodDefinition |
Add multiple prototypes at once
| Parameters: | array – Array of ZendServerMethodPrototype objects or arrays |
|---|---|
| Return type: | ZendServerMethodDefinition |
Set all prototypes at once (overwrites)
| Parameters: | array – Array of ZendServerMethodPrototype objects or arrays |
|---|---|
| Return type: | ZendServerMethodDefinition |
Get all prototypes
| Return type: | array $prototypes Array of ZendServerMethodPrototype objects or arrays |
|---|
Set method help
| Parameters: | string – |
|---|---|
| Return type: | ZendServerMethodDefinition |
Set object to use with method calls
| Parameters: | object – |
|---|---|
| Throws ServerExceptionInvalidArgumentException: | |
| Return type: | ZendServerMethodDefinition |