public function Request::getMethod in JSON-RPC 8
Same name and namespace in other branches
- 2.x 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\ObjectCode
public function getMethod() {
return $this->method;
}