services.xml 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <?xml version="1.0" ?>
  2. <container xmlns="http://symfony.com/schema/dic/services"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
  5. <parameters>
  6. <parameter key="event_dispatcher.class">Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher</parameter>
  7. <parameter key="http_kernel.class">Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel</parameter>
  8. <parameter key="filesystem.class">Symfony\Component\Filesystem\Filesystem</parameter>
  9. <parameter key="cache_warmer.class">Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerAggregate</parameter>
  10. <parameter key="cache_clearer.class">Symfony\Component\HttpKernel\CacheClearer\ChainCacheClearer</parameter>
  11. <parameter key="file_locator.class">Symfony\Component\HttpKernel\Config\FileLocator</parameter>
  12. <parameter key="uri_signer.class">Symfony\Component\HttpKernel\UriSigner</parameter>
  13. <parameter key="request_stack.class">Symfony\Component\HttpFoundation\RequestStack</parameter>
  14. </parameters>
  15. <services>
  16. <service id="event_dispatcher" class="%event_dispatcher.class%">
  17. <argument type="service" id="service_container" />
  18. </service>
  19. <service id="http_kernel" class="%http_kernel.class%">
  20. <argument type="service" id="event_dispatcher" />
  21. <argument type="service" id="service_container" />
  22. <argument type="service" id="controller_resolver" />
  23. <argument type="service" id="request_stack" />
  24. <argument>false</argument>
  25. </service>
  26. <service id="request_stack" class="%request_stack.class%" />
  27. <service id="cache_warmer" class="%cache_warmer.class%">
  28. <argument type="collection" />
  29. </service>
  30. <service id="kernel.class_cache.cache_warmer" class="Symfony\Bundle\FrameworkBundle\CacheWarmer\ClassCacheCacheWarmer">
  31. <tag name="kernel.cache_warmer" />
  32. </service>
  33. <service id="cache_clearer" class="%cache_clearer.class%">
  34. <argument type="collection" />
  35. </service>
  36. <service id="request" scope="request" synthetic="true" synchronized="true">
  37. <deprecated>The "%service_id%" service is deprecated since Symfony 2.7 and will be removed in 3.0. Use the "request_stack" service instead.</deprecated>
  38. </service>
  39. <service id="service_container" synthetic="true">
  40. <autowiring-type>Symfony\Component\DependencyInjection\ContainerInterface</autowiring-type>
  41. <autowiring-type>Symfony\Component\DependencyInjection\Container</autowiring-type>
  42. </service>
  43. <service id="kernel" synthetic="true" />
  44. <service id="filesystem" class="%filesystem.class%"></service>
  45. <service id="file_locator" class="%file_locator.class%">
  46. <argument type="service" id="kernel" />
  47. <argument>%kernel.root_dir%/Resources</argument>
  48. </service>
  49. <service id="uri_signer" class="%uri_signer.class%">
  50. <argument>%kernel.secret%</argument>
  51. </service>
  52. <service id="config_cache_factory" class="Symfony\Component\Config\ResourceCheckerConfigCacheFactory">
  53. <argument type="collection"></argument>
  54. </service>
  55. <service class="Symfony\Component\Config\Resource\SelfCheckingResourceChecker" public="false">
  56. <tag name="config_cache.resource_checker" priority="-990" />
  57. </service>
  58. <!--
  59. This service is deprecated and will be removed in 3.0.
  60. -->
  61. <service class="Symfony\Component\Config\Resource\BCResourceInterfaceChecker" public="false">
  62. <tag name="config_cache.resource_checker" priority="-1000" />
  63. </service>
  64. </services>
  65. </container>