File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ Create your First Page in Symfony
1010Creating a new page - whether it's an HTML page or a JSON endpoint - is a
1111simple two-step process:
1212
13- #. *Create a route *: A route is the URL (e.g. ``/about ``) to your page and
13+ #. ** Create a route * *: A route is the URL (e.g. ``/about ``) to your page and
1414 points to a controller;
1515
16- #. *Create a controller *: A controller is the PHP function you write that
16+ #. ** Create a controller * *: A controller is the PHP function you write that
1717 builds the page. You take the incoming request information and use it to
1818 create a Symfony ``Response `` object, which can hold HTML content, a JSON
1919 string or even a binary file like an image or PDF.
@@ -78,7 +78,7 @@ to creating a page?
7878 defines the URL pattern for this page. You'll learn more about :doc: `routing </routing >`
7979 in its own section, including how to make *variable * URLs;
8080
81- #. *Create a controller *: The method below the route - ``numberAction `` - is called
81+ #. *Create a controller *: The method below the route - ``numberAction() `` - is called
8282 the *controller *: this is a function where *you * build the page and ultimately
8383 return a ``Response `` object. You'll learn more about :doc: `controllers </controllers >`
8484 in their own section, including how to return JSON responses;
You can’t perform that action at this time.
0 commit comments