本文整理匯總了PHP中Elcodi\Bundle\CoreBundle\Abstracts\AbstractElcodiBundle類的典型用法代碼示例。如果您正苦於以下問題:PHP AbstractElcodiBundle類的具體用法?PHP AbstractElcodiBundle怎麽用?PHP AbstractElcodiBundle使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
在下文中一共展示了AbstractElcodiBundle類的6個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: build
/**
* @param ContainerBuilder $container
*/
public function build(ContainerBuilder $container)
{
parent::build($container);
$container->addCompilerPass(new MappingCompilerPass());
$container->addCompilerPass(new CartCouponApplicatorCompilerPass());
$container->addCompilerPass(new CartCouponApplicatorFunctionCompilerPass());
}
示例2: build
/**
* 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());
}
示例3: build
/**
* @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());
}
示例4: build
/**
* @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());
}
示例5: build
/**
* @param ContainerBuilder $container
*/
public function build(ContainerBuilder $container)
{
parent::build($container);
$container->addCompilerPass(new MappingCompilerPass());
}
示例6: build
/**
* @param ContainerBuilder $container
*/
public function build(ContainerBuilder $container)
{
parent::build($container);
$container->addCompilerPass(new MappingCompilerPass());
$container->addExpressionLanguageProvider(new ConfigurationExpressionLanguageProvider());
}