You are here

public function Response::id in JSON-RPC 2.x

Same name and namespace in other branches
  1. 8 src/Object/Response.php \Drupal\jsonrpc\Object\Response::id()

Gets the ID.

Return value

mixed The ID.

File

src/Object/Response.php, line 91

Class

Response
Response object to help implement JSON RPC's spec for response objects.

Namespace

Drupal\jsonrpc\Object

Code

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