public function JsonRpcParameterDefinition::setId in JSON-RPC 2.x
Same name and namespace in other branches
- 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\AnnotationCode
public function setId($id) {
$this->id = $id;
}