protected property PrimitiveDataNormalizer::$supportedInterfaceOrClass in Drupal 9
Same name and namespace in other branches
- 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\NormalizerCode
protected $supportedInterfaceOrClass = PrimitiveInterface::class;