<?php
declare(strict_types=1);
namespace BestIt\Routing;
use BestIt\Routing\DependencyInjection\CompilerPass\RouterPass;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
/**
* Bundle entrypoint
*
* @author Michel Chowanski <michel.chowanski@bestit-online.de>
* @package BestIt\Routing
*/
class BestItRoutingBundle extends Bundle
{
/**
* Build bundle
*
* @param ContainerBuilder $container
*
* @return void
*/
#[\Override]
public function build(ContainerBuilder $container): void
{
parent::build($container);
$container->addCompilerPass(new RouterPass());
}
}