<?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">

    <config>
        <dbal default-connection="default">
            <connection name="default" dbname="db" />
        </dbal>

        <orm default-entity-manager="default">
            <entity-manager name="default">
                <metadata-cache-driver type="memcache">
                    <class>Doctrine\Common\Cache\MemcacheCache</class>
                    <host>localhost</host>
                    <port>11211</port>
                    <instance-class>Memcache</instance-class>
                </metadata-cache-driver>
                <mapping name="YamlBundle" />
            </entity-manager>
        </orm>
    </config>
</srv:container>
