You are here

protected property TypedDataNormalizer::$supportedInterfaceOrClass in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/serialization/src/Normalizer/TypedDataNormalizer.php \Drupal\serialization\Normalizer\TypedDataNormalizer::supportedInterfaceOrClass

The interface or class that this Normalizer supports.

Type: string|array

Overrides NormalizerBase::$supportedInterfaceOrClass

File

core/modules/serialization/src/Normalizer/TypedDataNormalizer.php, line 15

Class

TypedDataNormalizer
Converts typed data objects to arrays.

Namespace

Drupal\serialization\Normalizer

Code

protected $supportedInterfaceOrClass = TypedDataInterface::class;