diff --git a/components/serializer.rst b/components/serializer.rst index a48a5254a08..5acff0952fc 100644 --- a/components/serializer.rst +++ b/components/serializer.rst @@ -528,6 +528,10 @@ There are several types of normalizers available: :phpclass:`DateTime` and :phpclass:`DateTimeImmutable`) into strings. By default it uses the RFC3339_ format. +.. versionadded:: 3.2 + Support for specifying datetime format during denormalization was added to + ``DateTimeNormalizer`` in Symfony 3.2 + :class:`Symfony\\Component\\Serializer\\Normalizer\\DataUriNormalizer` This normalizer converts :phpclass:`SplFileInfo` objects into a data URI string (``data:...``) such that files can be embedded into serialized data.