<?php
namespace Boab\EcommerceBundle;
use Boab\EcommerceBundle\DependencyInjection\Compiler\PaymentMethodPass;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class EcommerceBundle extends Bundle
{
public function build(ContainerBuilder $container)
{
parent::build($container);
$container->addCompilerPass(new PaymentMethodPass());
}
public function getAlias()
{
return 'ecommerce_bundle';
}
}