<?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.admin.block.admin_list" class="Sonata\AdminBundle\Block\AdminListBlockService">
            <tag name="sonata.block"/>

            <argument>sonata.admin.block.admin_list</argument>
            <argument type="service" id="templating" />
            <argument type="service" id="sonata.admin.pool" />
        </service>
        <service id="sonata.admin.block.search_result" class="Sonata\AdminBundle\Block\AdminSearchBlockService">
            <tag name="sonata.block"/>

            <argument>sonata.admin.block.search_result</argument>
            <argument type="service" id="templating" />
            <argument type="service" id="sonata.admin.pool" />
            <argument type="service" id="sonata.admin.search.handler" />
        </service>
    </services>

</container>
