From d576a1fc025ff279cc740324b10052b55dd5632c Mon Sep 17 00:00:00 2001 From: Shamil Nunhuck Date: Tue, 15 Dec 2015 11:46:11 +0000 Subject: [PATCH] Corrected the line references for the basic controller example; added a reference to separate use statement from initial namespacing explanation. --- book/controller.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/book/controller.rst b/book/controller.rst index cc7774d85b2..d69972ded58 100644 --- a/book/controller.rst +++ b/book/controller.rst @@ -116,8 +116,10 @@ Controllers are also called *actions*. This controller is pretty straightforward: -* *line 4*: Symfony takes advantage of PHP's namespace functionality to - namespace the entire controller class. The ``use`` keyword imports the +* *line 2*: Symfony takes advantage of PHP's namespace functionality to + namespace the entire controller class. + +* *line 4*: Symfony again takes advantage of PHP's namespace functionality: the ``use`` keyword imports the ``Response`` class, which the controller must return. * *line 6*: The class name is the concatenation of a name for the controller