Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite3dc077

Browse files
committed
minor#6913 [Controller Description] Fix typos and class link (rendler-denis)
This PR was submitted for the 3.0 branch but it was merged into the 2.7 branch instead (closes#6913).Discussion----------[Controller Description] Fix typos and class link- fix typo in first code example from $name to $max- add link to the Request class instead of just make the name boldCommits-------a0bbfae [Controller Description] Remove backticks74addb0 [Controller] Fix nested inline markupe017723 [Controller Description] Fix typos and class link
2 parents22adaa0 +a0bbfae commite3dc077

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎controller.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ This controller is pretty straightforward:
9393

9494
* *line 12*: Each action method in a controller class is suffixed with ``Action``
9595
(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}``
9797
:doc:`wildcard in the route</routing>`.
9898

9999
* *line 16*: The controller creates and returns a ``Response`` object.
@@ -327,7 +327,7 @@ The Request object as a Controller Argument
327327
What if you need to read query parameters, grab a request header or get access
328328
to an uploaded file? All of that information is stored in Symfony's ``Request``
329329
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 Request class**::
331331

332332
use Symfony\Component\HttpFoundation\Request;
333333

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp