services21.xml 793 B

123456789101112131415161718192021
  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="foo" class="Foo">
  5. <factory method="createFoo">
  6. <service class="FooFactory">
  7. <factory method="createFooFactory">
  8. <service class="Foobar"/>
  9. </factory>
  10. </service>
  11. </factory>
  12. <configurator method="configureFoo">
  13. <service class="Bar">
  14. <configurator method="configureBar">
  15. <service class="Baz"/>
  16. </configurator>
  17. </service>
  18. </configurator>
  19. </service>
  20. </services>
  21. </container>