Skip to content

Commit d873aec

Browse files
committed
Document supported types #[MapQueryParameter]
1 parent 5e626cd commit d873aec

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

controller.rst

+10
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,16 @@ attribute, arguments of your controller's action can be automatically fulfilled:
367367
// ...
368368
}
369369

370+
:class:`Symfony\\Component\\HttpKernel\\Attribute\\MapQueryParameter` support
371+
arguments of type:
372+
373+
- ``string``
374+
- ``int``
375+
- ``float``
376+
- ``bool``
377+
- ``array``
378+
- ``\BackedEnum``
379+
370380
``#[MapQueryParameter]`` can take an optional argument called ``filter``. You can use the
371381
`Validate Filters`_ constants defined in PHP::
372382

0 commit comments

Comments
 (0)