vendor/wearemarketing/paymentbundle/WAMPaymentBundle.php line 16

Open in your IDE?
  1. <?php
  2. namespace  WAM\Bundle\PaymentBundle;
  3. use Symfony\Component\DependencyInjection\ContainerBuilder;
  4. use Symfony\Component\HttpKernel\Bundle\Bundle;
  5. use WAM\Bundle\PaymentBundle\DependencyInjection\CompilerPass\ExtraDataBridgePass;
  6. use WAM\Bundle\PaymentBundle\DependencyInjection\CompilerPass\PaymentDetailsCapturersPass;
  7. use WAM\Bundle\PaymentBundle\DependencyInjection\CompilerPass\PaymentMethodCollectorsPass;
  8. /**
  9.  * Class WAMPaymentBundle.
  10.  *
  11.  * @author Juanjo Martínez <jmartinez@wearemarketing.com>
  12.  */
  13. class WAMPaymentBundle extends Bundle
  14. {
  15.     public function build(ContainerBuilder $container)
  16.     {
  17.         $container->addCompilerPass(new PaymentDetailsCapturersPass());
  18.         $container->addCompilerPass(new PaymentMethodCollectorsPass());
  19.         $container->addCompilerPass(new ExtraDataBridgePass());
  20.         parent::build($container);
  21.     }
  22. }