public function JsonRpcParameterDefinition::setId in JSON-RPC 8
Same name and namespace in other branches
- 2.x 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;
}