You are here

protected property PrimitiveDataNormalizer::$supportedInterfaceOrClass in Drupal 9

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

The interface or class that this Normalizer supports.

Type: string|array

Overrides NormalizerBase::$supportedInterfaceOrClass

File

core/modules/serialization/src/Normalizer/PrimitiveDataNormalizer.php, line 18

Class

PrimitiveDataNormalizer
Converts primitive data objects to their casted values.

Namespace

Drupal\serialization\Normalizer

Code

protected $supportedInterfaceOrClass = PrimitiveInterface::class;