Skip to content

Commit 43428c4

Browse files
committed
adding install details about annotations in the routing chapter
1 parent 119e5d8 commit 43428c4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

routing.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ the change is simple.
2020
Creating Routes
2121
---------------
2222

23+
First, install the annotations package:
24+
25+
.. code-block:: terminal
26+
27+
$ composer require annotations
28+
2329
A *route* is a map from a URL path to a controller. Suppose you want one route that
2430
matches ``/blog`` exactly and another more dynamic route that can match *any* URL
2531
like ``/blog/my-post`` or ``/blog/all-about-symfony``:

0 commit comments

Comments
 (0)