Abstract Server implementation.
More...
Abstract Server implementation.
Constructor.
Setup server description
_buildCallback |
( |
Reflection\AbstractFunction |
$reflection | ) |
|
|
protected |
Build callback for method signature.
- Deprecated:
- Since 2.7.0; method will have private visibility starting in 3.0.
- Parameters
-
Reflection\AbstractFunction | $reflection | |
- Returns
- Method
_buildSignature |
( |
Reflection\AbstractFunction |
$reflection, |
|
|
|
$class = null |
|
) |
| |
|
protected |
Build a method signature.
- Deprecated:
- Since 2.7.0; method will be renamed to remove underscore prefix in 3.0.
- Parameters
-
Reflection\AbstractFunction | $reflection | |
null | string | object | $class | |
- Returns
- Method
- Exceptions
-
Exception\RuntimeException | on duplicate entry |
Dispatch method.
- Deprecated:
- Since 2.7.0; method will be renamed to remove underscore prefix in 3.0.
- Parameters
-
Method\Definition | $invokable | |
array | $params | |
- Returns
- mixed
Map PHP type to protocol type.
- Deprecated:
- Since 2.7.0; method will be renamed to remove underscore prefix in 3.0.
- Parameters
-
- Returns
- string
Returns a list of registered methods.
Returns an array of method definitions.
- Returns
- Definition
Implements Server.
$overwriteExistingMethods = false |
|
protected |