TimestampItemNormalizer::$supportedInterfaceOrClass

Same name in this branch
  1. 8.9.x core/modules/hal/src/Normalizer/TimestampItemNormalizer.php \Drupal\hal\Normalizer\TimestampItemNormalizer::supportedInterfaceOrClass
Same name in other branches
  1. 9 core/modules/serialization/src/Normalizer/TimestampItemNormalizer.php \Drupal\serialization\Normalizer\TimestampItemNormalizer::supportedInterfaceOrClass
  2. 9 core/modules/hal/src/Normalizer/TimestampItemNormalizer.php \Drupal\hal\Normalizer\TimestampItemNormalizer::supportedInterfaceOrClass

Type: supportedInterfaceOrClass

Overrides FieldItemNormalizer::$supportedInterfaceOrClass

File

core/modules/serialization/src/Normalizer/TimestampItemNormalizer.php, line 22

Class

TimestampItemNormalizer
Converts values for TimestampItem to and from common formats.

Namespace

Drupal\serialization\Normalizer

Code

protected $supportedInterfaceOrClass = TimestampItem::class;

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