Skip to content

Commit f770e6c

Browse files
committed
minor #20784 [HttpKernel] Support Uid in #[MapQueryParameter] (alamirault)
This PR was merged into the 7.3 branch. Discussion ---------- [HttpKernel] Support Uid in `#[MapQueryParameter]` When #20783 is merge we can document new supported type. Fix #20626 Commits ------- 2a2faa4 [HttpKernel] Support Uid in #[MapQueryParameter]
2 parents bc3412b + 2a2faa4 commit f770e6c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

controller.rst

+5
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,11 @@ The ``MapQueryParameter`` attribute supports the following argument types:
371371
* ``float``
372372
* ``int``
373373
* ``string``
374+
* Objects that extend :class:`Symfony\\Component\\Uid\\AbstractUid`
375+
376+
.. versionadded:: 7.3
377+
378+
The support of ``AbstractUid`` was introduced in Symfony 7.3.
374379

375380
``#[MapQueryParameter]`` can take an optional argument called ``filter``. You can use the
376381
`Validate Filters`_ constants defined in PHP::

0 commit comments

Comments
 (0)