You are here

public function MethodInterface::getParams in JSON-RPC 8

Same name and namespace in other branches
  1. 2.x src/MethodInterface.php \Drupal\jsonrpc\MethodInterface::getParams()

The parameters for this method.

Can be a keyed array where the parameter names are the keys or an indexed array for positional parameters.

Return value

\Drupal\jsonrpc\MethodParameterInterface[]|null The method params or NULL if none are accepted.

1 method overrides MethodInterface::getParams()
JsonRpcMethod::getParams in src/Annotation/JsonRpcMethod.php
The parameters for this method.

File

src/MethodInterface.php, line 38

Class

MethodInterface
Interface for the method plugins.

Namespace

Drupal\jsonrpc

Code

public function getParams();