You are here

public function HandlerInterface::getMethod in JSON-RPC 8

Same name and namespace in other branches
  1. 2.x src/HandlerInterface.php \Drupal\jsonrpc\HandlerInterface::getMethod()

Gets a method definition by method name.

Parameters

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

Return value

\Drupal\jsonrpc\MethodInterface|null The method definition.

1 method overrides HandlerInterface::getMethod()
Handler::getMethod in src/Handler.php
Gets a method definition by method name.

File

src/HandlerInterface.php, line 41

Class

HandlerInterface
Interface for the handler.

Namespace

Drupal\jsonrpc

Code

public function getMethod($name);