ExecutableWithParamsInterface.php in JSON-RPC 8
Same filename and directory in other branches
Namespace
Drupal\jsonrpcFile
src/ExecutableWithParamsInterface.phpView source
<?php
namespace Drupal\jsonrpc;
use Drupal\jsonrpc\Object\ParameterBag;
/**
* Add to methods that can be executed with params.
*/
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);
}
Interfaces
Name | Description |
---|---|
ExecutableWithParamsInterface | Add to methods that can be executed with params. |