You are here

public function HandlerInterface::supportsMethod in JSON-RPC 2.x

Same name and namespace in other branches
  1. 8 src/HandlerInterface.php \Drupal\jsonrpc\HandlerInterface::supportsMethod()

Whether the given method is supported.

Parameters

string $name: The method name for which support should be determined.

Return value

bool Whether the handler supports the given method name.

1 method overrides HandlerInterface::supportsMethod()
Handler::supportsMethod in src/Handler.php
Whether the given method is supported.

File

src/HandlerInterface.php, line 72

Class

HandlerInterface
Interface for the handler.

Namespace

Drupal\jsonrpc

Code

public function supportsMethod($name);