You are here

protected property TimestampNormalizer::$supportedInterfaceOrClass in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/serialization/src/Normalizer/TimestampNormalizer.php \Drupal\serialization\Normalizer\TimestampNormalizer::supportedInterfaceOrClass
  2. 10 core/modules/serialization/src/Normalizer/TimestampNormalizer.php \Drupal\serialization\Normalizer\TimestampNormalizer::supportedInterfaceOrClass

The interface or class that this Normalizer supports.

Type: string|array

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;