Skip to content

Commit 0df58ea

Browse files
committed
Merge branch '7.2' into 7.3
* 7.2: Reword Document supported types #[MapQueryParameter]
2 parents 8967cd3 + 88f9c78 commit 0df58ea

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

controller.rst

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

366+
The ``MapQueryParameter`` attribute supports the following argument types:
367+
368+
* ``\BackedEnum``
369+
* ``array``
370+
* ``bool``
371+
* ``float``
372+
* ``int``
373+
* ``string``
374+
366375
``#[MapQueryParameter]`` can take an optional argument called ``filter``. You can use the
367376
`Validate Filters`_ constants defined in PHP::
368377

0 commit comments

Comments
 (0)