lib/boab/ecommerce-bundle/src/EcommerceBundle.php line 9

Open in your IDE?
  1. <?php
  2. namespace Boab\EcommerceBundle;
  3. use Boab\EcommerceBundle\DependencyInjection\Compiler\PaymentMethodPass;
  4. use Symfony\Component\DependencyInjection\ContainerBuilder;
  5. use Symfony\Component\HttpKernel\Bundle\Bundle;
  6. class EcommerceBundle extends Bundle
  7. {
  8.     public function build(ContainerBuilder $container)
  9.     {
  10.         parent::build($container);
  11.         $container->addCompilerPass(new PaymentMethodPass());
  12.     }
  13.     public function getAlias()
  14.     {
  15.         return 'ecommerce_bundle';
  16.     }
  17. }