public property JsonRpcMethod::$params in JSON-RPC 8
Same name and namespace in other branches
- 2.x src/Annotation/JsonRpcMethod.php \Drupal\jsonrpc\Annotation\JsonRpcMethod::params
The parameters for this method.
Can be a keyed array where the parameter names are the keys or an indexed array for positional parameters.
Type: \Drupal\jsonrpc\Annotation\JsonRpcParameterDefinition[]
File
- src/
Annotation/ JsonRpcMethod.php, line 54
Class
- JsonRpcMethod
- Defines a JsonRpcParameterDefinition annotation object.
Namespace
Drupal\jsonrpc\AnnotationCode
public $params = [];