|
4 | 4 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
5 | 5 | xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd"> |
6 | 6 | <services> |
| 7 | + <defaults autowire="true" autoconfigure="true" /> |
7 | 8 |
|
8 | 9 | <service id="Webfactory\Bundle\LegacyIntegrationBundle\Integration\BootstrapFileKernelAdaptor"> |
9 | 10 | <argument>%webfactory_legacy_integration.legacy_application_bootstrap_file%</argument> |
10 | 11 | </service> |
11 | 12 |
|
12 | | - <service id="webfactory_legacy_integration.legacy_kernel" |
13 | | - alias="Webfactory\Bundle\LegacyIntegrationBundle\Integration\BootstrapFileKernelAdaptor" /> |
| 13 | + <service id="webfactory_legacy_integration.legacy_kernel" alias="Webfactory\Bundle\LegacyIntegrationBundle\Integration\BootstrapFileKernelAdaptor" /> |
14 | 14 |
|
15 | | - <service |
16 | | - id="webfactory_legacy_integration.legacy_application" |
17 | | - class="Webfactory\Bundle\LegacyIntegrationBundle\Integration\LegacyApplication" |
18 | | - public="true"> |
| 15 | + <service id="Webfactory\Bundle\LegacyIntegrationBundle\Integration\LegacyApplication"> |
19 | 16 | <call method="setLegacyKernel"> |
20 | 17 | <argument type="service" id="webfactory_legacy_integration.legacy_kernel" /> |
21 | 18 | </call> |
22 | 19 | </service> |
| 20 | + <service id="webfactory_legacy_integration.legacy_application" alias="Webfactory\Bundle\LegacyIntegrationBundle\Integration\LegacyApplication" public="true" /> |
23 | 21 |
|
24 | | - <service id="webfactory_legacy_integration.kernel_event_listener" |
25 | | - class="Webfactory\Bundle\LegacyIntegrationBundle\EventListener\LegacyApplicationDispatchingEventListener"> |
26 | | - <argument type="service" id="service_container"/> |
27 | | - <argument type="service" id="annotation_reader"/> |
| 22 | + <service id="Webfactory\Bundle\LegacyIntegrationBundle\EventListener\LegacyApplicationDispatchingEventListener"> |
28 | 23 | <tag name="kernel.event_listener" event="kernel.controller" method="onKernelController" priority="-210" /> |
29 | 24 | </service> |
30 | 25 |
|
31 | | - <service id="webfactory_legacy_integration.controller_annotations_filter" class="Webfactory\Bundle\LegacyIntegrationBundle\Integration\Filter\ControllerAnnotations"> |
32 | | - <argument type="service" id="annotation_reader"/> |
33 | | - <argument type="service" id="service_container"/> |
| 26 | + <service id="Webfactory\Bundle\LegacyIntegrationBundle\Integration\Filter\ControllerAnnotations"> |
34 | 27 | <tag name="webfactory_legacy_integration.filter"/> |
35 | 28 | </service> |
36 | 29 |
|
37 | | - <service id="webfactory_legacy_integration.keep_cookies_filter" class="Webfactory\Bundle\LegacyIntegrationBundle\Integration\Filter\KeepCookiesAndHeadersFilter"> |
38 | | - <argument type="service" id="annotation_reader"/> |
| 30 | + <service id="Webfactory\Bundle\LegacyIntegrationBundle\Integration\Filter\KeepCookiesAndHeadersFilter"> |
39 | 31 | <tag name="webfactory_legacy_integration.filter"/> |
40 | 32 | <tag name="kernel.event_listener" event="kernel.response"/> |
41 | 33 | </service> |
42 | 34 |
|
43 | | - <service id="webfactory_legacy_integration.twig_extension" class="Webfactory\Bundle\LegacyIntegrationBundle\Twig\Extension"> |
44 | | - <argument type="service" id="service_container"/> |
| 35 | + <service id="Webfactory\Bundle\LegacyIntegrationBundle\Twig\Extension"> |
45 | 36 | <tag name="twig.extension"/> |
| 37 | + <tag name="container.service_subscriber" /> |
46 | 38 | </service> |
47 | 39 |
|
48 | | - <service id="webfactory_legacy_integration.xpath_helper_factory" |
49 | | - class="Webfactory\Bundle\LegacyIntegrationBundle\Integration\XPathHelperFactory"> |
| 40 | + <service id="Webfactory\Bundle\LegacyIntegrationBundle\Integration\XPathHelperFactory"> |
50 | 41 | <argument type="service"> |
51 | 42 | <service class="%webfactory_legacy_integration.parser_class%"/> |
52 | 43 | </argument> |
53 | | - <argument type="service" id="webfactory_legacy_integration.legacy_application"/> |
| 44 | + <argument type="service" id="Webfactory\Bundle\LegacyIntegrationBundle\Integration\LegacyApplication"/> |
54 | 45 | <argument type="service" id="logger" on-invalid="null" /> |
55 | 46 | <tag name="monolog.logger" channel="webfactory_legacy_integration" /> |
56 | 47 | </service> |
57 | 48 |
|
58 | | - <service id="webfactory_legacy_integration.xpath_helper" public="true" |
59 | | - class="Webfactory\Bundle\LegacyIntegrationBundle\Integration\XPathHelper"> |
60 | | - <factory service="webfactory_legacy_integration.xpath_helper_factory" method="createHelper" /> |
| 49 | + <service id="Webfactory\Bundle\LegacyIntegrationBundle\Integration\XPathHelper"> |
| 50 | + <factory service="Webfactory\Bundle\LegacyIntegrationBundle\Integration\XPathHelperFactory" method="createHelper" /> |
61 | 51 | </service> |
62 | | - |
| 52 | + <service id="webfactory_legacy_integration.xpath_helper" alias="Webfactory\Bundle\LegacyIntegrationBundle\Integration\XPathHelper" public="true" /> |
63 | 53 | </services> |
64 | 54 | </container> |
0 commit comments