Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7f0163a

Browse files
committed
tweaks
1 parent10563a9 commit7f0163a

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

‎controller.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

‎page_creation.rst‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff 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 youkeep 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

284284
So 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+
302305
What's Next?
303306
------------
304307

‎routing.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Beautiful URLs are a must for any serious web application. This means leaving be
88
ugly URLs like ``index.php?article_id=57`` in favor of something like ``/read/intro-to-symfony``.
99

1010
Having flexibility is even more important. What if you need to change the
11-
URL of a page from ``/blog`` to ``/news``? How many linkswoud you need to
11+
URL of a page from ``/blog`` to ``/news``? How many linkswould you need to
1212
hunt down and update to make the change? If you're using Symfony's router,
1313
the 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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp