services21.xml 1.1 KB

123456789101112131415161718192021222324
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <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">
  3. <services>
  4. <service id="service_container" class="Symfony\Component\DependencyInjection\ContainerInterface" synthetic="true"/>
  5. <service id="foo" class="Foo">
  6. <factory method="createFoo">
  7. <service class="FooFactory">
  8. <factory method="createFooFactory">
  9. <service class="Foobar"/>
  10. </factory>
  11. </service>
  12. </factory>
  13. <configurator method="configureFoo">
  14. <service class="Bar">
  15. <configurator method="configureBar">
  16. <service class="Baz"/>
  17. </configurator>
  18. </service>
  19. </configurator>
  20. </service>
  21. <service id="Psr\Container\ContainerInterface" alias="service_container" public="false"/>
  22. <service id="Symfony\Component\DependencyInjection\ContainerInterface" alias="service_container" public="false"/>
  23. </services>
  24. </container>