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

<!--

 This file is part of the Sylius package.

 (c) Sylius Sp. z o.o.

 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"
>
    <parameters>
        <parameter key="sylius.behat.page.admin.catalog_promotion.create.class">Sylius\Behat\Page\Admin\CatalogPromotion\CreatePage</parameter>
        <parameter key="sylius.behat.page.admin.catalog_promotion.index.class">%sylius.behat.page.admin.crud.index.class%</parameter>
        <parameter key="sylius.behat.page.admin.catalog_promotion.show.class">Sylius\Behat\Page\Admin\CatalogPromotion\ShowPage</parameter>
        <parameter key="sylius.behat.page.admin.catalog_promotion.product_variant.index.class">Sylius\Behat\Page\Admin\CatalogPromotion\ProductVariant\IndexPage</parameter>
        <parameter key="sylius.behat.page.admin.catalog_promotion.update.class">Sylius\Behat\Page\Admin\CatalogPromotion\UpdatePage</parameter>
    </parameters>

    <services>
        <service
            id="sylius.behat.page.admin.catalog_promotion.create"
            class="%sylius.behat.page.admin.catalog_promotion.create.class%"
            parent="sylius.behat.page.admin.crud.create"
        >
            <argument type="string">sylius_admin_catalog_promotion_create</argument>
        </service>

        <service
            id="sylius.behat.page.admin.catalog_promotion.index"
            class="%sylius.behat.page.admin.catalog_promotion.index.class%"
            parent="sylius.behat.page.admin.crud.index"
        >
            <argument type="string">sylius_admin_catalog_promotion_index</argument>
        </service>

        <service
            id="sylius.behat.page.admin.catalog_promotion.product_variant.index"
            class="%sylius.behat.page.admin.catalog_promotion.product_variant.index.class%"
            parent="sylius.behat.page.admin.crud.index"
        >
            <argument type="string">sylius_admin_catalog_promotion_product_variant_index</argument>
        </service>

        <service
            id="sylius.behat.page.admin.catalog_promotion.update"
            class="%sylius.behat.page.admin.catalog_promotion.update.class%"
            parent="sylius.behat.page.admin.crud.update"
        >
            <argument type="string">sylius_admin_catalog_promotion_update</argument>
        </service>

        <service
            id="sylius.behat.page.admin.catalog_promotion.show"
            class="%sylius.behat.page.admin.catalog_promotion.show.class%"
            parent="sylius.behat.symfony_page"
        />
    </services>
</container>
