interface ExecutableWithParamsInterface in JSON-RPC 2.x
Same name and namespace in other branches
- 8 src/ExecutableWithParamsInterface.php \Drupal\jsonrpc\ExecutableWithParamsInterface
Add to methods that can be executed with params.
Hierarchy
- interface \Drupal\jsonrpc\ExecutableWithParamsInterface
Expanded class hierarchy of ExecutableWithParamsInterface
All classes that implement ExecutableWithParamsInterface
1 file declares its use of ExecutableWithParamsInterface
- JsonRpcMethodBase.php in src/
Plugin/ JsonRpcMethodBase.php
File
- src/
ExecutableWithParamsInterface.php, line 10
Namespace
Drupal\jsonrpcView source
interface ExecutableWithParamsInterface {
/**
* Executes the action with the parameters passed in.
*
* @param \Drupal\jsonrpc\Object\ParameterBag $params
* The parameters.
*
* @return mixed
* The result of the execution.
*/
public function execute(ParameterBag $params);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ExecutableWithParamsInterface:: |
public | function | Executes the action with the parameters passed in. | 9 |