/**
  * @param ContainerBuilder $container
  */
 public function build(ContainerBuilder $container)
 {
     parent::build($container);
     $container->addCompilerPass(new MappingCompilerPass());
     $container->addCompilerPass(new CartCouponApplicatorCompilerPass());
     $container->addCompilerPass(new CartCouponApplicatorFunctionCompilerPass());
 }
Exemple #2
0
 /**
  * Builds bundle
  *
  * @param ContainerBuilder $container Container
  */
 public function build(ContainerBuilder $container)
 {
     parent::build($container);
     /**
      * Adds compiler pass
      */
     $container->addCompilerPass(new MappingCompilerPass())->addCompilerPass(new ContextCompilerPass())->addCompilerPass(new ExpressionLanguageCompilerPass());
 }
 /**
  * @param ContainerBuilder $container
  */
 public function build(ContainerBuilder $container)
 {
     parent::build($container);
     $container->addCompilerPass(new MappingCompilerPass());
     $container->addCompilerPass(new PurchasableNameResolverCompilerPass());
     $container->addCompilerPass(new PurchasableStockValidatorCompilerPass());
     $container->addCompilerPass(new PurchasableStockUpdaterCompilerPass());
     $container->addCompilerPass(new PurchasableImageResolverCompilerPass());
 }
Exemple #4
0
 /**
  * @param ContainerBuilder $container
  */
 public function build(ContainerBuilder $container)
 {
     parent::build($container);
     $container->addCompilerPass(new MappingCompilerPass());
     $container->addCompilerPass(new MenuFilterCompilerPass());
     $container->addCompilerPass(new MenuBuilderCompilerPass());
     $container->addCompilerPass(new MenuModifierCompilerPass());
     $container->addCompilerPass(new MenuChangerCompilerPass());
 }
 /**
  * @param ContainerBuilder $container
  */
 public function build(ContainerBuilder $container)
 {
     parent::build($container);
     $container->addCompilerPass(new MappingCompilerPass());
 }
 /**
  * @param ContainerBuilder $container
  */
 public function build(ContainerBuilder $container)
 {
     parent::build($container);
     $container->addCompilerPass(new MappingCompilerPass());
     $container->addExpressionLanguageProvider(new ConfigurationExpressionLanguageProvider());
 }