Skip to content

Commit 215bf69

Browse files
committed
[HttpKernel] Support Uid in #[MapQueryParameter]
1 parent fd26bac commit 215bf69

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Diff for: controller.rst

+15
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,21 @@ attribute, arguments of your controller's action can be automatically fulfilled:
363363
// ...
364364
}
365365

366+
:class:`Symfony\\Component\\HttpKernel\\Attribute\\MapQueryParameter` support
367+
arguments of type:
368+
369+
- ``string``
370+
- ``int``
371+
- ``float``
372+
- ``bool``
373+
- ``array``
374+
- ``\BackedEnum``
375+
- Objects that extend :class:`Symfony\\Component\\Uid\\AbstractUid`
376+
377+
.. versionadded:: 7.3
378+
379+
The support of ``AbstractUid`` was introduced in Symfony 7.3.
380+
366381
``#[MapQueryParameter]`` can take an optional argument called ``filter``. You can use the
367382
`Validate Filters`_ constants defined in PHP::
368383

0 commit comments

Comments
 (0)