You are here

public function JsonRpcParameterDefinition::setId in JSON-RPC 2.x

Same name and namespace in other branches
  1. 8 src/Annotation/JsonRpcParameterDefinition.php \Drupal\jsonrpc\Annotation\JsonRpcParameterDefinition::setId()

Sets the parameter ID.

Parameters

string|int $id: The ID to set.

File

src/Annotation/JsonRpcParameterDefinition.php, line 98

Class

JsonRpcParameterDefinition
Defines a JsonRpcParameterDefinition annotation object.

Namespace

Drupal\jsonrpc\Annotation

Code

public function setId($id) {
  $this->id = $id;
}