diff --git a/DependencyInjection/SpomkyLabsLexikJoseExtension.php b/DependencyInjection/SpomkyLabsLexikJoseExtension.php index 10b2ab7..005be77 100644 --- a/DependencyInjection/SpomkyLabsLexikJoseExtension.php +++ b/DependencyInjection/SpomkyLabsLexikJoseExtension.php @@ -75,7 +75,12 @@ public function loadEncryptionServices(ContainerBuilder $container): void public function prepend(ContainerBuilder $container): void { $isDebug = $container->getParameter('kernel.debug'); - $bridgeConfig = current($container->getExtensionConfig($this->getAlias())); + $bridgeConfig = $container->getExtensionConfig($this->getAlias()); + + $resolvingBag = $container->getParameterBag(); + $bridgeConfig = $resolvingBag->resolveValue($bridgeConfig); + + $bridgeConfig = $this->processConfiguration(new Configuration(), $bridgeConfig); if (!array_key_exists('claim_checked', $bridgeConfig)) { $bridgeConfig['claim_checked'] = []; }