File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -245,10 +245,10 @@ The controller defines actions to handle users requests and prepares responses
245
245
246
246
The code is pretty straightforward but let's explain it line by line:
247
247
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 .
252
252
253
253
* *line 7 *: The controller name is the combination of the second part of the
254
254
``_controller `` routing value (``Hello ``) and the word ``Controller ``. It
You can’t perform that action at this time.
0 commit comments