File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ This controller is pretty straightforward:
93
93
94
94
* *line 12 *: Each action method in a controller class is suffixed with ``Action ``
95
95
(again, this isn't *required *, but some shortcuts rely on this). This method
96
- is allowed to have a ``$name `` argument thanks to the ``{name } ``
96
+ is allowed to have a ``$max `` argument thanks to the ``{max } ``
97
97
:doc: `wildcard in the route </routing >`.
98
98
99
99
* *line 16 *: The controller creates and returns a ``Response `` object.
@@ -327,7 +327,7 @@ The Request object as a Controller Argument
327
327
What if you need to read query parameters, grab a request header or get access
328
328
to an uploaded file? All of that information is stored in Symfony's ``Request ``
329
329
object. To get it in your controller, just add it as an argument and
330
- **type-hint it with the `` Request` ` class **::
330
+ **type-hint it with the :class:`Symfony \\ Component \\ HttpFoundation \\ Request` class **::
331
331
332
332
use Symfony\Component\HttpFoundation\Request;
333
333
You can’t perform that action at this time.
0 commit comments