From 8d3e31ae50749bac465eb485dcfbfcad4de670cd Mon Sep 17 00:00:00 2001 From: Alexandre Daubois Date: Fri, 10 Mar 2023 17:51:11 +0100 Subject: [PATCH] [Attributes] Add `#[MapDateTime]` reference --- controller/value_resolver.rst | 3 ++- reference/attributes.rst | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/controller/value_resolver.rst b/controller/value_resolver.rst index 6ceeee77084..fa71918cd7d 100644 --- a/controller/value_resolver.rst +++ b/controller/value_resolver.rst @@ -96,7 +96,8 @@ Symfony ships with the following value resolvers in the .. versionadded:: 6.1 - The ``DateTimeValueResolver`` was introduced in Symfony 6.1. + The ``DateTimeValueResolver`` and the ``MapDateTime`` attribute were + introduced in Symfony 6.1. :class:`Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\RequestValueResolver` Injects the current ``Request`` if type-hinted with ``Request`` or a class diff --git a/reference/attributes.rst b/reference/attributes.rst index f2b22ca958d..0761df10a54 100644 --- a/reference/attributes.rst +++ b/reference/attributes.rst @@ -53,7 +53,7 @@ HttpKernel * :doc:`AsController ` * :ref:`Cache ` -* :class:`Symfony\\Component\\HttpKernel\\Attribute\\MapDateTime` +* :ref:`MapDateTime ` Messenger ~~~~~~~~~