Skip to content

Commit

Permalink
Merge pull request #9 from Espeka/master
Browse files Browse the repository at this point in the history
Patch services.yml for symfony4 declarations
  • Loading branch information
bitbager authored Nov 27, 2018
2 parents 5908029 + 540aa45 commit d265736
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/Resources/config/services.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,44 @@
services:
bitbag.mercanet_bnp_paribas.form.type.gateway_configuration:
class: BitBag\MercanetBnpParibasPlugin\Form\Type\MercanetBnpParibasGatewayConfigurationType
public: true
tags:
- { name: sylius.gateway_configuration_type, type: mercanet_bnp_paribas, label: bitbag.mercanet_bnp_paribas.gateway_label }
- { name: form.type }

bitbag.mercanet_bnp_paribas.gateway_factory:
class: Payum\Core\Bridge\Symfony\Builder\GatewayFactoryBuilder
public: true
arguments: [BitBag\MercanetBnpParibasPlugin\MercanetBnpParibasGatewayFactory]
tags:
- { name: payum.gateway_factory_builder, factory: mercanet_bnp_paribas }

bitbag.mercanet_bnp_paribas.action.capture:
class: BitBag\MercanetBnpParibasPlugin\Action\CaptureAction
public: true
arguments:
- '@payum'
tags:
- { name: payum.action, factory: mercanet_bnp_paribas, alias: payum.action.capture }

bitbag.mercanet_bnp_paribas.action.notify:
class: BitBag\MercanetBnpParibasPlugin\Action\NotifyAction
public: true
arguments:
- '@sm.factory'
tags:
- { name: payum.action, factory: mercanet_bnp_paribas, alias: payum.action.notify }

bitbag.mercanet_bnp_paribas.action.status:
class: BitBag\MercanetBnpParibasPlugin\Action\StatusAction
public: true
arguments:
- '@request_stack'
tags:
- { name: payum.action, factory: mercanet_bnp_paribas, alias: payum.action.status }

bitbag.mercanet_bnp_paribas.bridge.mercanet_bnp_paribas_bridge:
class: BitBag\MercanetBnpParibasPlugin\Bridge\MercanetBnpParibasBridge
public: true
arguments:
- '@request_stack'
- '@request_stack'

0 comments on commit d265736

Please sign in to comment.