You are here

public function RpcRequestFactory::__construct in JSON-RPC 2.x

Same name and namespace in other branches
  1. 8 src/Shaper/RpcRequestFactory.php \Drupal\jsonrpc\Shaper\RpcRequestFactory::__construct()

File

src/Shaper/RpcRequestFactory.php, line 57

Class

RpcRequestFactory
Creates RPC Request objects.

Namespace

Drupal\jsonrpc\Shaper

Code

public function __construct(HandlerInterface $handler, ContainerInterface $container, Validator $validator) {
  $this->handler = $handler;
  $this->container = $container;
  $this->validator = $validator;
}