作者:pramodda
项目:elcod
/**
* @param ContainerBuilder $container
*/
public function build(ContainerBuilder $container)
{
parent::build($container);
$container->addCompilerPass(new MappingCompilerPass());
$container->addCompilerPass(new CartCouponApplicatorCompilerPass());
$container->addCompilerPass(new CartCouponApplicatorFunctionCompilerPass());
}
作者:raizet
项目:elcod
/**
* 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());
}
作者:IRlyDontKno
项目:elcod
/**
* @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());
}
作者:raizet
项目:elcod
/**
* @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());
}
作者:xpher
项目:elcod
/**
* @param ContainerBuilder $container
*/
public function build(ContainerBuilder $container)
{
parent::build($container);
$container->addCompilerPass(new MappingCompilerPass());
}
作者:TomasVotrub
项目:elcod
/**
* @param ContainerBuilder $container
*/
public function build(ContainerBuilder $container)
{
parent::build($container);
$container->addCompilerPass(new MappingCompilerPass());
$container->addExpressionLanguageProvider(new ConfigurationExpressionLanguageProvider());
}