You are here

public function Request::id in JSON-RPC 8

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

Gets the ID.

Return value

bool|false|mixed The request id.

File

src/Object/Request.php, line 74

Class

Request
Request object to help implement JSON RPC's spec for request objects.

Namespace

Drupal\jsonrpc\Object

Code

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