Skip to content

Commit 43f751e

Browse files
author
Carlos Granados
committed
Added missing namespace statements
added the namespace statements to the annotation examples
1 parent 5941b89 commit 43f751e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

book/templating.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -870,6 +870,8 @@ configuration:
870870
.. code-block:: php-annotations
871871
872872
// src/AppBundle/Controller/WelcomeController.php
873+
namespace AppBundle\Controller;
874+
873875
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
874876
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
875877
@@ -938,6 +940,8 @@ route:
938940
.. code-block:: php-annotations
939941
940942
// src/AppBundle/Controller/ArticleController.php
943+
namespace AppBundle\Controller;
944+
941945
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
942946
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
943947

0 commit comments

Comments
 (0)