<?xml version="1.0" ?>

<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>
        <defaults public="true"/>
        <service id="Shopware\Bundle\ContentTypeBundle\Services\TypeFieldResolver">
            <argument type="service" id="service_container"/>
        </service>

        <service id="Shopware\Bundle\ContentTypeBundle\FieldResolver\MediaResolver">
            <argument type="service" id="Shopware\Bundle\StoreFrontBundle\Service\MediaServiceInterface"/>
            <argument type="service" id="Shopware\Components\Compatibility\LegacyStructConverter"/>
            <argument type="service" id="Shopware\Bundle\StoreFrontBundle\Service\ContextServiceInterface"/>
        </service>

        <service id="Shopware\Bundle\ContentTypeBundle\FieldResolver\ProductResolver">
            <argument type="service" id="Shopware\Bundle\StoreFrontBundle\Service\ListProductServiceInterface"/>
            <argument type="service" id="Shopware\Components\Compatibility\LegacyStructConverter"/>
            <argument type="service" id="Shopware\Bundle\StoreFrontBundle\Service\ContextServiceInterface"/>
        </service>

        <service id="Shopware\Bundle\ContentTypeBundle\FieldResolver\ShopResolver">
            <argument type="service" id="Shopware\Bundle\StoreFrontBundle\Gateway\ShopGatewayInterface"/>
        </service>

        <service id="Shopware\Bundle\ContentTypeBundle\FieldResolver\TypeResolver">
            <argument type="service" id="service_container"/>
        </service>
    </services>
</container>
