You are here

public property JsonRpcMethod::$params in JSON-RPC 2.x

Same name and namespace in other branches
  1. 8 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\Annotation

Code

public $params = [];