File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ The sample loader below supports loading routing resources with a type of
7272``extra ``. The type ``extra `` isn't important - you can just invent any resource
7373type you want. The resource name itself is not actually used in the example::
7474
75+ // src/AppBundle/Routing/ExtraLoader.php
7576 namespace AppBundle\Routing;
7677
7778 use Symfony\Component\Config\Loader\Loader;
@@ -119,6 +120,7 @@ Make sure the controller you specify really exists. In this case you
119120have to create an ``extraAction `` method in the ``ExtraController ``
120121of the ``AppBundle ``::
121122
123+ // src/AppBundle/Controller/ExtraController.php
122124 namespace AppBundle\Controller;
123125
124126 use Symfony\Component\HttpFoundation\Response;
@@ -238,6 +240,7 @@ Whenever you want to load another resource - for instance a YAML routing
238240configuration file - you can call the
239241:method: `Symfony\\ Component\\ Config\\ Loader\\ Loader::import ` method::
240242
243+ // src/AppBundle/Routing/AdvancedLoader.php
241244 namespace AppBundle\Routing;
242245
243246 use Symfony\Component\Config\Loader\Loader;
You can’t perform that action at this time.
0 commit comments