<?xml version="1.0" encoding="utf-8"?>
<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>

        <!-- Handles mail copy and form prefilling for withdrawal forms -->
        <service id="onco_withdrawal.subscriber.main"
                 class="OncoWithdrawal\Subscriber\Frontend\MainSubscriber">
            <argument type="service" id="models"/>
            <argument type="service" id="session"/>
            <tag name="shopware.event_subscriber"/>
        </service>

    </services>
</container>
