protected function JsonRpcMethodBase::currentRequest in JSON-RPC 2.x
Same name and namespace in other branches
- 8 src/Plugin/JsonRpcMethodBase.php \Drupal\jsonrpc\Plugin\JsonRpcMethodBase::currentRequest()
The RPC request for the current invocation.
Return value
\Drupal\jsonrpc\Object\Request The request object.
File
- src/
Plugin/ JsonRpcMethodBase.php, line 45
Class
- JsonRpcMethodBase
- Base implementation for JSON RPC methods.
Namespace
Drupal\jsonrpc\PluginCode
protected function currentRequest() {
return $this->rpcRequest;
}