vendor/marfatech/enumer-bundle/MarfaTechEnumerBundle.php line 20
<?php
declare(strict_types=1);
/*
* This file is part of the EnumerBundle package.
*
* (c) MarfaTech <https://marfa-tech.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace MarfaTech\Bundle\EnumerBundle;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use MarfaTech\Bundle\EnumerBundle\DependencyInjection\Compiler\EnumRegistryCompilerPass;
class MarfaTechEnumerBundle extends Bundle
{
/**
* {@inheritdoc}
*/
public function build(ContainerBuilder $container): void
{
parent::build($container);
$container->addCompilerPass(new EnumRegistryCompilerPass());
}
}