File tree 3 files changed +8
-5
lines changed 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.
118
118
119
119
.. tip ::
120
120
121
- What's the difference between ``Controller `` or ``AbstractController ``. Not much:
121
+ What's the difference between ``Controller `` or ``AbstractController ``? Not much:
122
122
both are identical, except that ``AbstractController `` is more restrictive: it
123
123
does not allow you to access services directly via ``$this->get() `` or
124
124
``$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:
278
278
``src/ ``
279
279
All your PHP code lives here.
280
280
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.
283
283
284
284
So what about the other directories in the project?
285
285
@@ -299,6 +299,9 @@ So what about the other directories in the project?
299
299
This is the document root for your project: you put any publicly accessible files
300
300
here.
301
301
302
+ And when you install new packages, new directories will be created automatically
303
+ when needed.
304
+
302
305
What's Next?
303
306
------------
304
307
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
8
8
ugly URLs like ``index.php?article_id=57 `` in favor of something like ``/read/intro-to-symfony ``.
9
9
10
10
Having 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
12
12
hunt down and update to make the change? If you're using Symfony's router,
13
13
the change is simple.
14
14
@@ -126,7 +126,7 @@ use them later to :ref:`generate URLs <routing-generate>`.
126
126
127
127
The ``@Route `` above each method is called an *annotation *. If you'd rather
128
128
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.
130
130
131
131
.. _routing-requirements :
132
132
You can’t perform that action at this time.
0 commit comments