Skip to content

Commit 27e1812

Browse files
committed
[quick_tour] Clarifying the namespace versus bundle name use in the controller.
1 parent 43db6c5 commit 27e1812

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

quick_tour/the_big_picture.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -245,10 +245,10 @@ The controller defines actions to handle users requests and prepares responses
245245
246246
The code is pretty straightforward but let's explain it line by line:
247247

248-
* *line 3*: Symfony2 takes advantage of new PHP 5.3 namespacing features, and
249-
all controllers should be properly namespaced. Per the routing file above,
250-
the namespace is the first part of the ``_controller`` routing value:
251-
``HelloBundle``).
248+
* *line 3*: Symfony2 takes advantage of new PHP 5.3 namespacing features,
249+
and all controllers should be properly namespaced (though this is not
250+
required). In this example, the controller lives in the bundle named ``HelloBundle``,
251+
which forms the first part of the ``_controller`` routing value.
252252

253253
* *line 7*: The controller name is the combination of the second part of the
254254
``_controller`` routing value (``Hello``) and the word ``Controller``. It

0 commit comments

Comments
 (0)