protected property DateTimeNormalizer::$supportedInterfaceOrClass in Drupal 8
Same name and namespace in other branches
- 9 core/modules/serialization/src/Normalizer/DateTimeNormalizer.php \Drupal\serialization\Normalizer\DateTimeNormalizer::supportedInterfaceOrClass
The interface or class that this Normalizer supports.
Type: string|array
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;