34 lines
1.8 KiB
XML
34 lines
1.8 KiB
XML
|
|
<?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="fos_js_routing.extractor.class">FOS\JsRoutingBundle\Extractor\ExposedRoutesExtractor</parameter>
|
||
|
|
<parameter key="fos_js_routing.routes_response.class">FOS\JsRoutingBundle\Response\RoutesResponse</parameter>
|
||
|
|
</parameters>
|
||
|
|
|
||
|
|
<services>
|
||
|
|
<service id="fos_js_routing.extractor" class="%fos_js_routing.extractor.class%" public="true">
|
||
|
|
<argument type="service" id="fos_js_routing.router" />
|
||
|
|
<argument></argument>
|
||
|
|
<argument>%kernel.cache_dir%</argument>
|
||
|
|
<argument>%kernel.bundles%</argument>
|
||
|
|
</service>
|
||
|
|
<service id="fos_js_routing.routes_response" class="%fos_js_routing.routes_response.class%" public="true" />
|
||
|
|
<service id="fos_js_routing.dump_command" class="FOS\JsRoutingBundle\Command\DumpCommand">
|
||
|
|
<argument type="service" id="fos_js_routing.routes_response" />
|
||
|
|
<argument type="service" id="fos_js_routing.extractor" />
|
||
|
|
<argument type="service" id="fos_js_routing.serializer" />
|
||
|
|
<argument>%kernel.project_dir%</argument>
|
||
|
|
<argument>%fos_js_routing.request_context_base_url%</argument>
|
||
|
|
<tag name="console.command" />
|
||
|
|
</service>
|
||
|
|
<service id="fos_js_routing.router_debug_exposed_command" class="FOS\JsRoutingBundle\Command\RouterDebugExposedCommand">
|
||
|
|
<argument type="service" id="fos_js_routing.extractor" />
|
||
|
|
<argument type="service" id="router" />
|
||
|
|
<tag name="console.command" />
|
||
|
|
</service>
|
||
|
|
</services>
|
||
|
|
</container>
|