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

<!--

 This file is part of the Sylius package.

 (c) Paweł Jędrzejewski

 For the full copyright and license information, please view the LICENSE
 file that was distributed with this source code.

-->

<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="sylius_fixtures.listener.catalog_promotion_executor" class="Sylius\Bundle\CoreBundle\Fixture\Listener\CatalogPromotionExecutorListener" public="false">
            <argument type="service" id="Sylius\Bundle\CoreBundle\CatalogPromotion\Processor\AllProductVariantsCatalogPromotionsProcessorInterface" />
            <argument type="service" id="Sylius\Bundle\PromotionBundle\Doctrine\ORM\CatalogPromotionRepository" />
            <argument type="service" id="sylius.command_bus" />
            <argument type="tagged_iterator" tag="sylius.catalog_promotion.criteria" />
            <tag name="sylius_fixtures.listener" />
        </service>

        <service id="Sylius\Bundle\CoreBundle\Fixture\Listener\ImagesPurgerListener" public="false">
            <argument type="service" id="filesystem" />
            <argument>%sylius_core.images_dir%</argument>
            <tag name="sylius_fixtures.listener" />
        </service>
    </services>
</container>

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

<!--

 This file is part of the Sylius package.

 (c) Paweł Jędrzejewski

 For the full copyright and license information, please view the LICENSE
 file that was distributed with this source code.

-->

<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="sylius_fixtures.listener.catalog_promotion_executor" class="Sylius\Bundle\CoreBundle\Fixture\Listener\CatalogPromotionExecutorListener" public="false">
            <argument type="service" id="Sylius\Bundle\CoreBundle\CatalogPromotion\Processor\AllProductVariantsCatalogPromotionsProcessorInterface" />
            <argument type="service" id="sylius.repository.catalog_promotion" />
            <argument type="service" id="sylius.command_bus" />
            <argument type="tagged_iterator" tag="sylius.catalog_promotion.criteria" />
            <tag name="sylius_fixtures.listener" />
        </service>

        <service id="Sylius\Bundle\CoreBundle\Fixture\Listener\ImagesPurgerListener" public="false">
            <argument type="service" id="filesystem" />
            <argument>%sylius_core.images_dir%</argument>
            <tag name="sylius_fixtures.listener" />
        </service>
    </services>
</container>

Fix invalid catalog promotion repository service id
[Core] Fix invalid catalog promotion repository service id
