File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -222,13 +222,15 @@ The values of the ``paths`` option are defined as ``key: value`` pairs where the
222222
223223 .. code-block :: yaml
224224
225+ # app/config/config.yml
225226 twig :
226227 # ...
227228 paths :
228229 ' %kernel.root_dir%/../vendor/acme/foo-bar/templates ' : ~
229230
230231 .. code-block :: xml
231232
233+ <!-- app/config/config.xml -->
232234 <container xmlns =" http://symfony.com/schema/dic/services"
233235 xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
234236 xmlns : twig =" http://symfony.com/schema/dic/twig"
@@ -243,6 +245,7 @@ The values of the ``paths`` option are defined as ``key: value`` pairs where the
243245
244246 .. code-block :: php
245247
248+ // app/config/config.php
246249 $container->loadFromExtension('twig', array(
247250 // ...
248251 'paths' => array(
@@ -262,13 +265,15 @@ for that directory:
262265
263266 .. code-block :: yaml
264267
268+ # app/config/config.yml
265269 twig :
266270 # ...
267271 paths :
268272 ' %kernel.root_dir%/../vendor/acme/foo-bar/templates ' : ' foo_bar'
269273
270274 .. code-block :: xml
271275
276+ <!-- app/config/config.xml -->
272277 <container xmlns =" http://symfony.com/schema/dic/services"
273278 xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
274279 xmlns : twig =" http://symfony.com/schema/dic/twig"
@@ -283,6 +288,7 @@ for that directory:
283288
284289 .. code-block :: php
285290
291+ # app/config/config.php
286292 $container->loadFromExtension('twig', array(
287293 // ...
288294 'paths' => array(
You can’t perform that action at this time.
0 commit comments