Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

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

Sign up
Appearance settings

Commit215bf69

Browse files
committed
[HttpKernel] Support Uid in #[MapQueryParameter]
1 parentfd26bac commit215bf69

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

‎controller.rst

Lines changed: 15 additions & 0 deletions
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)

[8]ページ先頭

©2009-2025 Movatter.jp