You are here

public function RpcResponseFactory::getOutputValidator in JSON-RPC 8

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

File

src/Shaper/RpcResponseFactory.php, line 59

Class

RpcResponseFactory
Creates RPC Response objects.

Namespace

Drupal\jsonrpc\Shaper

Code

public function getOutputValidator() {
  return $this->outputValidator ? $this->outputValidator : new AcceptValidator();
}