You are here

protected property TimestampItemNormalizer::$supportedInterfaceOrClass in Drupal 9

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

The interface or class that this Normalizer supports.

Type: string|array

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;