<?php
/*
* This file is part of ProductsEditorExt Plugin
*
* Copyright(c) https://beststore.tokyo/ All Rights Reserved.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Plugin\ProductsEditorExt\Bundle;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use Symfony\Component\DependencyInjection\Compiler\PassConfig;
use Plugin\ProductsEditorExt\DependencyInjection\Compiler\ProductsEditorExtPass;
class ProductsEditorExtBundle extends Bundle
{
public function build(ContainerBuilder $container)
{
parent::build($container);
$container->addCompilerPass(new ProductsEditorExtPass(), PassConfig::TYPE_BEFORE_OPTIMIZATION, 10);
}
}