You are here

public function ParameterDefinitionInterface::getId in JSON-RPC 2.x

Same name and namespace in other branches
  1. 8 src/ParameterDefinitionInterface.php \Drupal\jsonrpc\ParameterDefinitionInterface::getId()

The name of the parameter if the params are by-name, an offset otherwise.

Return value

string|int The ID.

1 method overrides ParameterDefinitionInterface::getId()
JsonRpcParameterDefinition::getId in src/Annotation/JsonRpcParameterDefinition.php
The name of the parameter if the params are by-name, an offset otherwise.

File

src/ParameterDefinitionInterface.php, line 16

Class

ParameterDefinitionInterface
Interface to implement a parameter definition.

Namespace

Drupal\jsonrpc

Code

public function getId();