<?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 https://symfony.com/schema/dic/services/services-1.0.xsd">

    <services>
        <service id="Shopware\Core\Content\Cookie\Service\CookieProvider">
            <argument type="service" id="Symfony\Contracts\EventDispatcher\EventDispatcherInterface"/>
            <argument type="service" id="translator"/>
            <argument>%session.storage.options%</argument>
            <argument type="service" id="Shopware\Storefront\Framework\Cookie\CookieProviderInterface" on-invalid="null"/>
        </service>

        <service id="Shopware\Core\Content\Cookie\SalesChannel\CookieRoute" public="true">
            <argument type="service" id="Shopware\Core\Content\Cookie\Service\CookieProvider"/>
        </service>
    </services>
</container>
