<?xml version="1.0" ?>

<container xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
		   xmlns="http://symfony.com/schema/dic/services"
		   xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">

	<services>
		<!-- Commands -->
		<service id="VRPaymentPayment\Core\Settings\Command\SettingsCommand">
			<argument type="service" id="VRPaymentPayment\Core\Settings\Service\SettingsService"/>
			<tag name="console.command"/>
		</service>
		<service id="VRPaymentPayment\Core\Settings\Command\CreateMerchantCommand">
			<argument type="service" id="user.repository"/>
			<argument type="service" id="acl_role.repository"/>
			<argument type="service" id="locale.repository"/>
			<tag name="console.command"/>
		</service>

		<!-- Services -->
		<service id="VRPaymentPayment\Core\Settings\Service\SettingsService">
			<argument type="service" id="Shopware\Core\System\SystemConfig\SystemConfigService"/>
			<call method="setLogger">
				<argument type="service" id="monolog.logger.vrpayment_payment"/>
			</call>
		</service>
	</services>

</container>
