mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
[PaymentRequest] Move Payum command providers to PayumBundle
This commit is contained in:
parent
9e7dc44763
commit
9317c34830
5 changed files with 38 additions and 38 deletions
|
|
@ -1,35 +0,0 @@
|
|||
<?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"
|
||||
>
|
||||
<services>
|
||||
<defaults public="true" />
|
||||
|
||||
<service id="sylius.payment_request.command_provider.payum.offline" class="Sylius\Bundle\CoreBundle\PaymentRequest\CommandProvider\ActionsCommandProvider">
|
||||
<argument type="tagged_locator" tag="sylius.payment_request.command_provider.payum.offline" index-by="action" />
|
||||
<tag name="sylius.payment_request.command_provider" gateway-factory="offline" priority="100" />
|
||||
</service>
|
||||
|
||||
<service id="sylius.payment_request.command_provider.payum.offline.capture" class="Sylius\Bundle\CoreBundle\PaymentRequest\CommandProvider\Payum\CaptureCommandProvider">
|
||||
<tag name="sylius.payment_request.command_provider.payum.offline" action="capture" />
|
||||
</service>
|
||||
|
||||
<service id="sylius.payment_request.command_provider.payum.offline.status" class="Sylius\Bundle\CoreBundle\PaymentRequest\CommandProvider\Payum\StatusCommandProvider">
|
||||
<tag name="sylius.payment_request.command_provider.payum.offline" action="status" />
|
||||
</service>
|
||||
|
||||
</services>
|
||||
</container>
|
||||
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Sylius\Bundle\CoreBundle\PaymentRequest\CommandProvider\Payum;
|
||||
namespace Sylius\Bundle\PayumBundle\PaymentRequest\CommandProvider;
|
||||
|
||||
use Sylius\Bundle\CoreBundle\PaymentRequest\CommandProvider\PaymentRequestCommandProviderInterface;
|
||||
use Sylius\Bundle\PayumBundle\PaymentRequest\Command\AuthorizePaymentRequest;
|
||||
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Sylius\Bundle\CoreBundle\PaymentRequest\CommandProvider\Payum;
|
||||
namespace Sylius\Bundle\PayumBundle\PaymentRequest\CommandProvider;
|
||||
|
||||
use Sylius\Bundle\CoreBundle\PaymentRequest\CommandProvider\PaymentRequestCommandProviderInterface;
|
||||
use Sylius\Bundle\PayumBundle\PaymentRequest\Command\CapturePaymentRequest;
|
||||
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Sylius\Bundle\CoreBundle\PaymentRequest\CommandProvider\Payum;
|
||||
namespace Sylius\Bundle\PayumBundle\PaymentRequest\CommandProvider;
|
||||
|
||||
use Sylius\Bundle\CoreBundle\PaymentRequest\CommandProvider\PaymentRequestCommandProviderInterface;
|
||||
use Sylius\Bundle\PayumBundle\PaymentRequest\Command\StatusPaymentRequest;
|
||||
|
|
@ -0,0 +1,35 @@
|
|||
<?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"
|
||||
>
|
||||
<services>
|
||||
<defaults public="true" />
|
||||
|
||||
<service id="sylius.payum.payment_request.command_provider.offline" class="Sylius\Bundle\PaymentBundle\CommandProvider\ActionsCommandProvider">
|
||||
<argument type="tagged_locator" tag="sylius.payum.payment_request.command_provider.offline" index-by="action" />
|
||||
<tag name="sylius.payment_request.command_provider" gateway-factory="offline" priority="100" />
|
||||
</service>
|
||||
|
||||
<service id="sylius.payum.payment_request.command_provider.offline.capture" class="Sylius\Bundle\PayumBundle\PaymentRequest\CommandProvider\CaptureCommandProvider">
|
||||
<tag name="sylius.payum.payment_request.command_provider.offline" action="capture" />
|
||||
</service>
|
||||
|
||||
<service id="sylius.payum.payment_request.command_provider.offline.status" class="Sylius\Bundle\PayumBundle\PaymentRequest\CommandProvider\StatusCommandProvider">
|
||||
<tag name="sylius.payum.payment_request.command_provider.offline" action="status" />
|
||||
</service>
|
||||
</services>
|
||||
</container>
|
||||
Loading…
Add table
Reference in a new issue