<?xml version="1.0" encoding="UTF-8" ?>

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

    <services>
        <service id="sonata.core.model.adapter.doctrine_orm" class="Sonata\CoreBundle\Model\Adapter\DoctrineORMAdapter" public="false">
            <argument type="service" id="doctrine"  on-invalid="ignore" />
        </service>

        <service id="sonata.core.model.adapter.doctrine_phpcr" class="Sonata\CoreBundle\Model\Adapter\DoctrinePHPCRAdapter" public="false">
            <argument type="service" id="doctrine_phpcr" on-invalid="ignore" />
        </service>

        <service id="sonata.core.model.adapter.chain" class="Sonata\CoreBundle\Model\Adapter\AdapterChain" public="true" />
    </services>

</container>
