protected property TimestampNormalizer::$supportedInterfaceOrClass in Drupal 9
Same name and namespace in other branches
- 8 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\NormalizerCode
protected $supportedInterfaceOrClass = Timestamp::class;