Skip to content

Commit c09b44a

Browse files
cedriclombardotxabbuh
authored andcommitted
Update param_fetcher_listener.rst
1 parent 98f38ec commit c09b44a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Resources/doc/param_fetcher_listener.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ configured for the matched controller so that the user does not need to do this
4242
* @QueryParam(name="sort", requirements="(asc|desc)", allowBlank=false, default="asc", description="Sort direction")
4343
* Will check if a blank value, e.g an empty string is passed and if so, it will set to the default of asc.
4444
*
45+
* @RequestParam(name="nullableSample", nullable=true, description="An example for a nullable entry")
4546
* @RequestParam(name="firstname", requirements="[a-z]+", description="Firstname.")
4647
* Will look for a firstname request parameters, ie. firstname=foo in POST data.
4748
* If not passed it will error out when read out of the ParamFetcher since RequestParam defaults to strict=true
@@ -192,3 +193,4 @@ Container parameters can be used in requirements and default field.
192193
{
193194
...
194195
}
196+

0 commit comments

Comments
 (0)