Skip to content

Instantly share code, notes, and snippets.

@caefer
Created March 23, 2011 13:48
Show Gist options
  • Select an option

  • Save caefer/883105 to your computer and use it in GitHub Desktop.

Select an option

Save caefer/883105 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8" ?>
<container xmlns="http://symfony.com/schema/dic/services"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
<parameters>
<parameter key="my.twig.class">MyProject\MyBundle\Twig\Extension\MyExtension</parameter>
</parameters>
<services>
<service id="my.twig" class="%my.twig.class%">
<argument type="service" id="service_container" />
<tag name="twig.extension" />
</service>
</services>
</container>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment