forked from BeSimple/BeSimpleI18nRoutingBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
routing.xml
41 lines (36 loc) · 2.63 KB
/
routing.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?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">
<parameters>
<parameter key="i18n_routing.router.class">BeSimple\I18nRoutingBundle\Routing\Router</parameter>
<parameter key="i18n_routing.generator_base.class">BeSimple\I18nRoutingBundle\Routing\Generator\UrlGenerator</parameter>
<parameter key="i18n_routing.translator.doctrine.class">BeSimple\I18nRoutingBundle\Routing\Translator\DoctrineDBALTranslator</parameter>
<parameter key="i18n_routing.translator.doctrine.schemalistener.class">BeSimple\I18nRoutingBundle\Routing\Translator\DoctrineDBAL\SchemaListener</parameter>
<parameter key="i18n_routing.translator.translation.class">BeSimple\I18nRoutingBundle\Routing\Translator\TranslationTranslator</parameter>
</parameters>
<services>
<service id="i18n_routing.router" class="%i18n_routing.router.class%">
<argument type="service" id="i18n_routing.translator" on-invalid="ignore" />
<argument type="service" id="service_container" />
<argument>%router.resource%</argument>
<argument type="collection">
<argument key="cache_dir">%kernel.cache_dir%</argument>
<argument key="debug">%kernel.debug%</argument>
<argument key="generator_class">%router.options.generator_class%</argument>
<argument key="generator_base_class">%i18n_routing.generator_base.class%</argument>
<argument key="generator_dumper_class">%router.options.generator_dumper_class%</argument>
<argument key="generator_cache_class">%router.options.generator.cache_class%</argument>
<argument key="matcher_class">%router.options.matcher_class%</argument>
<argument key="matcher_base_class">%router.options.matcher_base_class%</argument>
<argument key="matcher_dumper_class">%router.options.matcher_dumper_class%</argument>
<argument key="matcher_cache_class">%router.options.matcher.cache_class%</argument>
</argument>
</service>
<service id="router.cache_warmer" class="%router.cache_warmer.class%" public="false">
<tag name="kernel.cache_warmer" />
<argument type="service" id="router" />
</service>
<service id="i18n_routing.translator.doctrine.schemalistener" class="%i18n_routing.translator.doctrine.schemalistener.class%" public="false" />
</services>
</container>