DateTimeNormalizer::$supportedInterfaceOrClass
Same name in other branches
- 8.9.x core/modules/serialization/src/Normalizer/DateTimeNormalizer.php \Drupal\serialization\Normalizer\DateTimeNormalizer::supportedInterfaceOrClass
Type: supportedInterfaceOrClass
Overrides NormalizerBase::$supportedInterfaceOrClass
File
-
core/
modules/ serialization/ src/ Normalizer/ DateTimeNormalizer.php, line 35
Class
- DateTimeNormalizer
- Converts values for datetime objects to RFC3339 and from common formats.
Namespace
Drupal\serialization\NormalizerCode
protected $supportedInterfaceOrClass = DateTimeInterface::class;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.