You are here

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

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

Gets the method's name.

Return value

string The name of the method to execute.

File

src/Object/Request.php, line 84

Class

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

Namespace

Drupal\jsonrpc\Object

Code

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