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">
4 <service id="foo" class="Foo">
5 <factory method="createFoo">
6 <service class="FooFactory">
7 <factory method="createFooFactory">
8 <service class="Foobar"/>
12 <configurator method="configureFoo">
14 <configurator method="configureBar">
15 <service class="Baz"/>