protected property AnnotationNormalizer::$supportedInterfaceOrClass in JSON-RPC 8
Same name and namespace in other branches
- 2.x 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\NormalizerCode
protected $supportedInterfaceOrClass = [
JsonRpcMethod::class,
JsonRpcParameterDefinition::class,
];