File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,14 @@ to creating a page?
9191 return a ``Response `` object. You'll learn more about :doc: `controllers </controller >`
9292 in their own section, including how to return JSON responses.
9393
94+ .. tip ::
95+
96+ To create controllers faster, let Symfony generate it for you:
97+
98+ .. code-block :: terminal
99+
100+ $ php bin/console make:controller
101+
94102 .. _annotation-routes :
95103
96104Annotation Routes
@@ -126,14 +134,6 @@ You can now add your route directly *above* the controller:
126134 That's it! The page - ``http://localhost:8000/lucky/number `` will work exactly
127135like before! Annotations are the recommended way to configure routes.
128136
129- .. tip ::
130-
131- To create controllers faster, let Symfony generate it for you:
132-
133- .. code-block :: terminal
134-
135- $ php bin/console make:controller
136-
137137.. _flex-quick-intro :
138138
139139Auto-Installing Recipes with Symfony Flex
You can’t perform that action at this time.
0 commit comments