Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f770e6c

Browse filesBrowse 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
Copy full SHA for f770e6c

File tree

1 file changed

+5
-0
lines changed
Filter options

1 file changed

+5
-0
lines changed

‎controller.rst

Copy file name to clipboardExpand all lines: 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.