Skip to content

Commit 05da696

Browse files
author
Carlos Granados
committed
Added missing use statements
Added missing use statements for new annotations code example
1 parent 30e0dd4 commit 05da696

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

book/templating.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -870,6 +870,9 @@ configuration:
870870
.. code-block:: php-annotations
871871
872872
// src/AppBundle/Controller/WelcomeController.php
873+
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
874+
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
875+
873876
class WelcomeController extends Controller
874877
{
875878
/**
@@ -935,6 +938,9 @@ route:
935938
.. code-block:: php-annotations
936939
937940
// src/AppBundle/Controller/ArticleController.php
941+
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
942+
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
943+
938944
class ArticleController extends Controller
939945
{
940946
/**

0 commit comments

Comments
 (0)