You are here

protected property PrimitiveDataNormalizer::$supportedInterfaceOrClass in Drupal 8

Same name and namespace in other branches
  1. 9 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;