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

        <!-- ProductChunkerRegistry -->
        <service id="swag_promotion.chunker.product_chunker_registry"
                 class="SwagPromotion\Components\Promotion\ProductChunker\ProductChunkerRegistry">
            <argument type="tagged" tag="swag_promotion.chunker"/>
        </service>

        <!-- Chunker -->
        <service id="swag_promotion.chunker.cheapest_product"
                 class="SwagPromotion\Components\Promotion\ProductChunker\CheapestProductChunker">
            <tag name="swag_promotion.chunker"/>
        </service>

        <service id="swag_promotion.chunker.product_number"
                 class="SwagPromotion\Components\Promotion\ProductChunker\BuyXGetYFreeChunker">
            <tag name="swag_promotion.chunker"/>
        </service>

        <service id="swag_promotion.chunker.buy_x_get_y_not_related"
                 class="SwagPromotion\Components\Promotion\ProductChunker\BuyXGetYFreeNotRelatedChunker">
            <tag name="swag_promotion.chunker"/>
        </service>
    </services>
</container>
