PrimitiveDataNormalizer::$supportedInterfaceOrClass

Same name in other branches
  1. 8.9.x core/modules/serialization/src/Normalizer/PrimitiveDataNormalizer.php \Drupal\serialization\Normalizer\PrimitiveDataNormalizer::supportedInterfaceOrClass

Type: supportedInterfaceOrClass

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;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.