Skip to content

Commit

Permalink
cleanup container parameter after compiler pass
Browse files Browse the repository at this point in the history
  • Loading branch information
dmaicher committed Jul 30, 2024
1 parent 764b1a5 commit 7c56924
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/DependencyInjection/CompilerPass/MenuCompilerPass.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ public function process(ContainerBuilder $container): void
$menuConfigProviderDef->addMethodCall('addMenuConfig', [$name, $menuConfig]);
}
}

$container->getParameterBag()->remove('dama.menu.config');
}

protected function getReferenceFromConfigValue(ContainerBuilder $container, string $prefix, string $value): Reference
Expand Down

0 comments on commit 7c56924

Please sign in to comment.