src/Knp/DictionaryBundle/KnpDictionaryBundle.php
public function build(ContainerBuilder $container): void
    {
        $container->addCompilerPass(new Compiler\DictionaryBuildingPass());
        $container->addCompilerPass(new Compiler\DictionaryFactoryBuildingPass());
        $container->addCompilerPass(new Compiler\DictionaryRegistrationPass());
        $container->addCompilerPass(new Compiler\DictionaryTracePass());
    }
public function build(ContainerBuilder $container): void
    {
        $container->addCompilerPass(new Compiler\DictionaryBuildingPass());
        $container->addCompilerPass(new Compiler\DictionaryFactoryBuildingPass());
        $container->addCompilerPass(new Compiler\DictionaryRegistrationPass());
        $container->addCompilerPass(new Compiler\DictionaryTracePass());
    }
{@inheritdoc}