src/Knp/DictionaryBundle/DependencyInjection/Compiler/DictionaryBuildingPass.php
public function process(ContainerBuilder $container): void
    {
        $configuration = $container->getParameter('knp_dictionary.configuration');

        foreach ($configuration['dictionaries'] as $name => $config) {
            $container->setDefinition(
                sprintf('knp_dictionary.dictionary.%s', $name),
                $this->createDefinition($name, $config)
            );
        }
    }
public function process(ContainerBuilder $container): void
    {
        $configuration = $container->getParameter('knp_dictionary.configuration');

        foreach ($configuration['dictionaries'] as $name => $config) {
            $container->setDefinition(
                sprintf('knp_dictionary.dictionary.%s', $name),
                $this->createDefinition($name, $config)
            );
        }
    }
{@inheritdoc}