<?php
declare(strict_types=1);
namespace Novaway\CoreBundle;
use Novaway\CoreBundle\DependencyInjection\CompilerPass\FillRepositoryMappingPass;
use Symfony\Component\DependencyInjection\Compiler\PassConfig;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class NovawayCoreBundle extends Bundle
{
public function build(ContainerBuilder $container)
{
parent::build($container);
$container->addCompilerPass(new FillRepositoryMappingPass(), PassConfig::TYPE_BEFORE_REMOVING);
}
}