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

    <services>

        <service id="Kiener\MolliePayments\Command\Install\SetupCommand">
            <argument type="service" id="Kiener\MolliePayments\Components\Installer\PluginInstaller"/>
            <argument type="service" id="monolog.logger.mollie"/>
            <tag name="console.command"/>
        </service>

        <service id="Kiener\MolliePayments\Command\DAL\DALCleanupCommand">
            <argument type="service" id="product.repository"/>
            <argument type="service" id="Doctrine\DBAL\Connection"/>
            <argument type="service" id="monolog.logger.mollie"/>
            <tag name="console.command"/>
        </service>

        <service id="Kiener\MolliePayments\Command\ApplePay\ApplePayDownloadCommand">
            <argument type="service" id="Kiener\MolliePayments\Components\ApplePayDirect\ApplePayDirect"/>
            <argument type="service" id="monolog.logger.mollie"/>
            <tag name="console.command"/>
        </service>

        <service id="Kiener\MolliePayments\Command\Subscriptions\RenewalReminderCommand">
            <argument type="service" id="Kiener\MolliePayments\Components\Subscription\SubscriptionManager"/>
            <argument type="service" id="monolog.logger.mollie"/>
            <tag name="console.command"/>
        </service>

        <service id="Kiener\MolliePayments\Command\Fixtures\FixturesInstallCommand">
            <argument>%env(APP_ENV)%</argument>
            <argument type="service" id="Kiener\MolliePayments\Components\Fixtures\FixturesInstaller"/>
            <argument type="service" id="monolog.logger.mollie"/>
            <tag name="console.command"/>
        </service>

        <service id="Kiener\MolliePayments\Command\Fixtures\FixturesUninstallCommand">
            <argument type="service" id="Kiener\MolliePayments\Components\Fixtures\FixturesInstaller"/>
            <argument type="service" id="monolog.logger.mollie"/>
            <tag name="console.command"/>
        </service>

    </services>
</container>
