Commit 6b27438
committed
minor #19627 [HttpKernel] Explain how to define default value in MapQueryString (NeilPeyssard)
This PR was merged into the 6.4 branch.
Discussion
----------
[HttpKernel] Explain how to define default value in MapQueryString
Hello,
The current example of how using a `MapQueryString` attribute is not really clear about default DTO value. Some people expects to have a new instance of their DTO.
The goal of this PR is to add a bit of details about how to define this default value.
see [#54042](symfony/symfony#54042)
Commits
-------
55616d8 [HttpKernel] Explain how to define default value in MapQueryString1 file changed
+18
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
451 | 451 | | |
452 | 452 | | |
453 | 453 | | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
454 | 472 | | |
455 | 473 | | |
456 | 474 | | |
| |||
0 commit comments