You are here

public function Handler::__construct in JSON-RPC 8

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

Handler constructor.

Parameters

\Drupal\Component\Plugin\PluginManagerInterface $method_manager: The plugin manager for the JSON RPC methods.

File

src/Handler.php, line 40

Class

Handler
Manages all the JSON-RPC business logic.

Namespace

Drupal\jsonrpc

Code

public function __construct(PluginManagerInterface $method_manager) {
  $this->methodManager = $method_manager;
}