Commit 08b1527 1 parent fe1a574 commit 08b1527 Copy full SHA for 08b1527
File tree 1 file changed +3
-0
lines changed
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
72
72
``extra ``. The type ``extra `` isn't important - you can just invent any resource
73
73
type you want. The resource name itself is not actually used in the example::
74
74
75
+ // src/AppBundle/Routing/ExtraLoader.php
75
76
namespace AppBundle\Routing;
76
77
77
78
use Symfony\Component\Config\Loader\Loader;
@@ -119,6 +120,7 @@ Make sure the controller you specify really exists. In this case you
119
120
have to create an ``extraAction `` method in the ``ExtraController ``
120
121
of the ``AppBundle ``::
121
122
123
+ // src/AppBundle/Controller/ExtraController.php
122
124
namespace AppBundle\Controller;
123
125
124
126
use Symfony\Component\HttpFoundation\Response;
@@ -238,6 +240,7 @@ Whenever you want to load another resource - for instance a YAML routing
238
240
configuration file - you can call the
239
241
:method: `Symfony\\ Component\\ Config\\ Loader\\ Loader::import ` method::
240
242
243
+ // src/AppBundle/Routing/AdvancedLoader.php
241
244
namespace AppBundle\Routing;
242
245
243
246
use Symfony\Component\Config\Loader\Loader;
You can’t perform that action at this time.
0 commit comments