Skip to content

Commit c373d9e

Browse files
committed
minor #18045 [Attributes] Add #[MapDateTime] reference (alexandre-daubois)
This PR was merged into the 6.2 branch. Discussion ---------- [Attributes] Add `#[MapDateTime]` reference The attributes was actually already documented somewhere 🙂 Commits ------- 8d3e31a [Attributes] Add `#[MapDateTime]` reference
2 parents 2ea5cc6 + 8d3e31a commit c373d9e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

controller/value_resolver.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ Symfony ships with the following value resolvers in the
9696

9797
.. versionadded:: 6.1
9898

99-
The ``DateTimeValueResolver`` was introduced in Symfony 6.1.
99+
The ``DateTimeValueResolver`` and the ``MapDateTime`` attribute were
100+
introduced in Symfony 6.1.
100101

101102
:class:`Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\RequestValueResolver`
102103
Injects the current ``Request`` if type-hinted with ``Request`` or a class

reference/attributes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ HttpKernel
5454

5555
* :doc:`AsController </controller/service>`
5656
* :ref:`Cache <http-cache-expiration-intro>`
57-
* :class:`Symfony\\Component\\HttpKernel\\Attribute\\MapDateTime`
57+
* :ref:`MapDateTime <functionality-shipped-with-the-httpkernel>`
5858

5959
Messenger
6060
~~~~~~~~~

0 commit comments

Comments
 (0)