You are here

public function RpcResponseFactory::getOutputValidator in JSON-RPC 2.x

Same name and namespace in other branches
  1. 8 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();
}