TimestampNormalizer::$supportedInterfaceOrClass

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

Type: supportedInterfaceOrClass

Overrides DateTimeNormalizer::$supportedInterfaceOrClass

File

core/modules/serialization/src/Normalizer/TimestampNormalizer.php, line 30

Class

TimestampNormalizer
Converts values for the Timestamp data type to and from common formats.

Namespace

Drupal\serialization\Normalizer

Code

protected $supportedInterfaceOrClass = Timestamp::class;

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