You are here

protected property DateTimeNormalizer::$supportedInterfaceOrClass in JSON:API 8.2

The interface or class that this Normalizer supports.

Type: string|array

Overrides NormalizerBase::$supportedInterfaceOrClass

File

src/ForwardCompatibility/Normalizer/DateTimeNormalizer.php, line 43

Class

DateTimeNormalizer
Converts values for datetime objects to RFC3339 and from common formats.

Namespace

Drupal\jsonapi\ForwardCompatibility\Normalizer

Code

protected $supportedInterfaceOrClass = DateTimeInterface::class;