<?php
namespace WAM\Bundle\PaymentBundle;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use WAM\Bundle\PaymentBundle\DependencyInjection\CompilerPass\ExtraDataBridgePass;
use WAM\Bundle\PaymentBundle\DependencyInjection\CompilerPass\PaymentDetailsCapturersPass;
use WAM\Bundle\PaymentBundle\DependencyInjection\CompilerPass\PaymentMethodCollectorsPass;
/**
* Class WAMPaymentBundle.
*
* @author Juanjo MartÃnez <jmartinez@wearemarketing.com>
*/
class WAMPaymentBundle extends Bundle
{
public function build(ContainerBuilder $container)
{
$container->addCompilerPass(new PaymentDetailsCapturersPass());
$container->addCompilerPass(new PaymentMethodCollectorsPass());
$container->addCompilerPass(new ExtraDataBridgePass());
parent::build($container);
}
}