public function RpcResponseFactory::getInputValidator in JSON-RPC 8
Same name and namespace in other branches
- 2.x src/Shaper/RpcResponseFactory.php \Drupal\jsonrpc\Shaper\RpcResponseFactory::getInputValidator()
File
- src/
Shaper/ RpcResponseFactory.php, line 52
Class
- RpcResponseFactory
- Creates RPC Response objects.
Namespace
Drupal\jsonrpc\ShaperCode
public function getInputValidator() {
return new CollectionOfValidators(new InstanceofValidator(Response::class));
}