123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178 |
- <?xml version="1.0" ?>
- <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">
- <services>
- <service id="twig" class="Twig_Environment">
- <argument type="service" id="twig.loader" />
- <argument /> <!-- Twig options -->
- <call method="addGlobal">
- <argument>app</argument>
- <argument type="service" id="twig.app_variable" />
- </call>
- <call method="addRuntimeLoader">
- <argument type="service" id="twig.runtime_loader" />
- </call>
- <configurator service="twig.configurator.environment" method="configure" />
- </service>
- <service id="twig.app_variable" class="Symfony\Bridge\Twig\AppVariable" public="false">
- <call method="setEnvironment"><argument>%kernel.environment%</argument></call>
- <call method="setDebug"><argument>%kernel.debug%</argument></call>
- <call method="setTokenStorage"><argument type="service" id="security.token_storage" on-invalid="ignore" /></call>
- <call method="setRequestStack"><argument type="service" id="request_stack" on-invalid="ignore" /></call>
- </service>
- <service id="twig.cache_warmer" class="Symfony\Bundle\TwigBundle\CacheWarmer\TemplateCacheCacheWarmer" public="false">
- <tag name="kernel.cache_warmer" />
- <argument type="service" id="service_container" />
- <argument type="service" id="templating.finder" on-invalid="ignore" />
- <argument type="collection" /> <!-- Twig paths -->
- </service>
- <service id="twig.template_iterator" class="Symfony\Bundle\TwigBundle\TemplateIterator" public="false">
- <argument type="service" id="kernel" />
- <argument>%kernel.root_dir%</argument>
- <argument type="collection" /> <!-- Twig paths -->
- </service>
- <service id="twig.template_cache_warmer" class="Symfony\Bundle\TwigBundle\CacheWarmer\TemplateCacheWarmer" public="false">
- <tag name="kernel.cache_warmer" />
- <argument type="service" id="twig" />
- <argument type="service" id="twig.template_iterator" />
- </service>
- <service id="twig.loader.native_filesystem" class="Twig_Loader_Filesystem" public="false">
- <argument type="collection" /> <!-- paths -->
- <argument /> <!-- project's root dir -->
- </service>
- <service id="twig.loader.filesystem" class="Symfony\Bundle\TwigBundle\Loader\FilesystemLoader" public="false">
- <argument type="service" id="templating.locator" />
- <argument type="service" id="templating.name_parser" />
- <argument /> <!-- project's root dir -->
- <tag name="twig.loader"/>
- </service>
- <service id="twig.loader.chain" class="Twig_Loader_Chain" public="false"/>
- <service id="twig.loader" alias="twig.loader.filesystem" />
- <service id="templating.engine.twig" class="Symfony\Bundle\TwigBundle\TwigEngine" public="false">
- <argument type="service" id="twig" />
- <argument type="service" id="templating.name_parser" />
- <argument type="service" id="templating.locator" />
- </service>
- <service id="twig.extension.profiler" class="Symfony\Bridge\Twig\Extension\ProfilerExtension" public="false">
- <argument type="service" id="twig.profile" />
- <argument type="service" id="debug.stopwatch" on-invalid="null" />
- </service>
- <service id="twig.profile" class="Twig_Profiler_Profile" />
- <service id="data_collector.twig" class="Symfony\Bridge\Twig\DataCollector\TwigDataCollector" public="false">
- <tag name="data_collector" template="@WebProfiler/Collector/twig.html.twig" id="twig" priority="257" />
- <argument type="service" id="twig.profile" />
- </service>
- <service id="twig.extension.trans" class="Symfony\Bridge\Twig\Extension\TranslationExtension" public="false">
- <argument type="service" id="translator" />
- </service>
- <service id="twig.extension.assets" class="Symfony\Bridge\Twig\Extension\AssetExtension" public="false">
- <argument type="service" id="assets.packages" />
- </service>
- <service id="twig.extension.code" class="Symfony\Bridge\Twig\Extension\CodeExtension" public="false">
- <tag name="twig.extension" />
- <argument type="service" id="debug.file_link_formatter" on-invalid="ignore" />
- <argument>%kernel.root_dir%</argument>
- <argument>%kernel.charset%</argument>
- </service>
- <service id="twig.extension.routing" class="Symfony\Bridge\Twig\Extension\RoutingExtension" public="false">
- <argument type="service" id="router" />
- </service>
- <service id="twig.extension.yaml" class="Symfony\Bridge\Twig\Extension\YamlExtension" public="false" />
- <service id="twig.extension.debug.stopwatch" class="Symfony\Bridge\Twig\Extension\StopwatchExtension" public="false">
- <argument type="service" id="debug.stopwatch" on-invalid="ignore" />
- <argument>%kernel.debug%</argument>
- </service>
- <service id="twig.extension.expression" class="Symfony\Bridge\Twig\Extension\ExpressionExtension" public="false" />
- <service id="twig.extension.httpkernel" class="Symfony\Bridge\Twig\Extension\HttpKernelExtension" public="false" />
- <service id="twig.runtime.httpkernel" class="Symfony\Bridge\Twig\Extension\HttpKernelRuntime">
- <argument type="service" id="fragment.handler" />
- <tag name="twig.runtime" />
- </service>
- <service id="twig.extension.httpfoundation" class="Symfony\Bridge\Twig\Extension\HttpFoundationExtension" public="false">
- <argument type="service" id="request_stack" />
- <argument type="service" id="router.request_context" on-invalid="ignore" />
- </service>
- <service id="twig.extension.form" class="Symfony\Bridge\Twig\Extension\FormExtension" public="false">
- <argument type="collection">
- <argument type="service" id="service_container" />
- <argument>twig.form.renderer</argument>
- </argument>
- </service>
- <service id="twig.extension.debug" class="Twig_Extension_Debug" public="false" />
- <service id="twig.form.engine" class="Symfony\Bridge\Twig\Form\TwigRendererEngine" public="false">
- <argument>%twig.form.resources%</argument>
- <argument type="service" id="twig" />
- </service>
- <service id="twig.form.renderer" class="Symfony\Bridge\Twig\Form\TwigRenderer">
- <argument type="service" id="twig.form.engine" />
- <argument type="service" id="security.csrf.token_manager" on-invalid="null" />
- <tag name="twig.runtime" />
- </service>
- <service id="twig.translation.extractor" class="Symfony\Bridge\Twig\Translation\TwigExtractor">
- <argument type="service" id="twig" />
- <tag name="translation.extractor" alias="twig" />
- </service>
- <service id="twig.exception_listener" class="Symfony\Component\HttpKernel\EventListener\ExceptionListener">
- <tag name="kernel.event_subscriber" />
- <tag name="monolog.logger" channel="request" />
- <argument>%twig.exception_listener.controller%</argument>
- <argument type="service" id="logger" on-invalid="null" />
- </service>
- <service id="twig.controller.exception" class="Symfony\Bundle\TwigBundle\Controller\ExceptionController">
- <argument type="service" id="twig" />
- <argument>%kernel.debug%</argument>
- </service>
- <service id="twig.controller.preview_error" class="Symfony\Bundle\TwigBundle\Controller\PreviewErrorController">
- <argument type="service" id="http_kernel" />
- <argument>%twig.exception_listener.controller%</argument>
- </service>
- <service id="twig.configurator.environment" class="Symfony\Bundle\TwigBundle\DependencyInjection\Configurator\EnvironmentConfigurator" public="false">
- <argument /> <!-- date format, set in TwigExtension -->
- <argument /> <!-- interval format, set in TwigExtension -->
- <argument /> <!-- timezone, set in TwigExtension -->
- <argument /> <!-- decimals, set in TwigExtension -->
- <argument /> <!-- decimal point, set in TwigExtension -->
- <argument /> <!-- thousands separator, set in TwigExtension -->
- </service>
- <service id="twig.runtime_loader" class="Symfony\Bundle\TwigBundle\ContainerAwareRuntimeLoader" public="false">
- <argument type="service" id="service_container" />
- <argument type="collection" /> <!-- the mapping between class names and service names -->
- <argument type="service" id="logger" on-invalid="null" />
- </service>
- </services>
- </container>
|