You are here

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

Same name and namespace in other branches
  1. 8 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;
}