public function Request::isNotification in JSON-RPC 8
Same name and namespace in other branches
- 2.x src/Object/Request.php \Drupal\jsonrpc\Object\Request::isNotification()
Checks if this is a notification request.
Return value
bool True if it's a notification.
File
- src/
Object/ Request.php, line 140
Class
- Request
- Request object to help implement JSON RPC's spec for request objects.
Namespace
Drupal\jsonrpc\ObjectCode
public function isNotification() {
return $this->id === FALSE;
}