File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ and many others that you'll learn about next.
118118
119119.. tip ::
120120
121- What's the difference between ``Controller `` or ``AbstractController ``. Not much:
121+ What's the difference between ``Controller `` or ``AbstractController ``? Not much:
122122 both are identical, except that ``AbstractController `` is more restrictive: it
123123 does not allow you to access services directly via ``$this->get() `` or
124124 ``$this->container->get() ``. This forces you to write more robust code to access
Original file line number Diff line number Diff line change @@ -278,8 +278,8 @@ project:
278278``src/ ``
279279 All your PHP code lives here.
280280
281- Most of the time, you'll be working in ``src/ `` (PHP files) or ``config/ `` (everything
282- else). As you keep reading, you'll learn what can be done inside each of these.
281+ Most of the time, you'll be working in ``src/ `` (PHP files) or ``config/ `` As you
282+ keep reading, you'll learn what can be done inside each of these.
283283
284284So what about the other directories in the project?
285285
@@ -299,6 +299,9 @@ So what about the other directories in the project?
299299 This is the document root for your project: you put any publicly accessible files
300300 here.
301301
302+ And when you install new packages, new directories will be created automatically
303+ when needed.
304+
302305What's Next?
303306------------
304307
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ Beautiful URLs are a must for any serious web application. This means leaving be
88ugly URLs like ``index.php?article_id=57 `` in favor of something like ``/read/intro-to-symfony ``.
99
1010Having flexibility is even more important. What if you need to change the
11- URL of a page from ``/blog `` to ``/news ``? How many links woud you need to
11+ URL of a page from ``/blog `` to ``/news ``? How many links would you need to
1212hunt down and update to make the change? If you're using Symfony's router,
1313the change is simple.
1414
@@ -126,7 +126,7 @@ use them later to :ref:`generate URLs <routing-generate>`.
126126
127127 The ``@Route `` above each method is called an *annotation *. If you'd rather
128128 configure your routes in YAML, XML or PHP, that's no problem! Just create a
129- new routing file (e.g. ``routing .xml ``) and Symfony will automatically use it.
129+ new routing file (e.g. ``routes .xml ``) and Symfony will automatically use it.
130130
131131.. _routing-requirements :
132132
You can’t perform that action at this time.
0 commit comments