<?xml version="1.0" ?>

<srv:container xmlns="http://symfony.com/schema/dic/doctrine"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:srv="http://symfony.com/schema/dic/services"
    xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd
                        http://symfony.com/schema/dic/doctrine http://symfony.com/schema/dic/doctrine/doctrine-1.0.xsd">

    <srv:services>
        <srv:service id="foo" class="FooClass">
            <srv:tag name="foo.tag" />
            <srv:call method="setBar">
                <srv:argument>foo</srv:argument>
            </srv:call>
        </srv:service>
    </srv:services>
</srv:container>
