<?php
/**
* Copyright (c) 2011-present Qualiteam software Ltd. All rights reserved.
* See https://www.x-cart.com/license-agreement.html for license details.
*/
declare(strict_types=1);
namespace CDev\ProductAdvisor;
use CDev\ProductAdvisor\DependencyInjection\Compiler\AddProductFiltersByNewArrivalsAndComingSoonFieldsPass;
use Symfony\Component\DependencyInjection\Compiler\PassConfig;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
final class ProductAdvisorBundle extends Bundle
{
public function build(ContainerBuilder $container): void
{
parent::build($container);
$container->addCompilerPass(new AddProductFiltersByNewArrivalsAndComingSoonFieldsPass(), PassConfig::TYPE_BEFORE_OPTIMIZATION, 710);
}
}