Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions controller.rst
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,16 @@ attribute, arguments of your controller's action can be automatically fulfilled:
// ...
}

:class:`Symfony\\Component\\HttpKernel\\Attribute\\MapQueryParameter` support
arguments of type:

- ``string``
- ``int``
- ``float``
- ``bool``
- ``array``
- ``\BackedEnum``

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

Expand Down