You are here

protected property AnnotationNormalizer::$supportedInterfaceOrClass in JSON-RPC 2.x

Same name and namespace in other branches
  1. 8 modules/jsonrpc_discovery/src/Normalizer/AnnotationNormalizer.php \Drupal\jsonrpc_discovery\Normalizer\AnnotationNormalizer::supportedInterfaceOrClass

The interface or class that this Normalizer supports.

Type: string|array

Overrides NormalizerBase::$supportedInterfaceOrClass

File

modules/jsonrpc_discovery/src/Normalizer/AnnotationNormalizer.php, line 34

Class

AnnotationNormalizer
The normalizer class for annotated objects.

Namespace

Drupal\jsonrpc_discovery\Normalizer

Code

protected $supportedInterfaceOrClass = [
  JsonRpcMethod::class,
  JsonRpcParameterDefinition::class,
];