Skip to content

Commit ab5d785

Browse files
committed
Lazy kernel.secret parameter resolving
1 parent 7159ac4 commit ab5d785

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Resources/config/services.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
use Symfony\Component\Console\ConsoleEvents;
2424
use Symfony\Component\DependencyInjection\Config\ContainerParametersResourceChecker;
2525
use Symfony\Component\DependencyInjection\EnvVarProcessor;
26+
use Symfony\Component\DependencyInjection\Parameter;
2627
use Symfony\Component\DependencyInjection\ParameterBag\ContainerBag;
2728
use Symfony\Component\DependencyInjection\ParameterBag\ContainerBagInterface;
2829
use Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface;
@@ -154,7 +155,7 @@ class_exists(WorkflowEvents::class) ? WorkflowEvents::ALIASES : []
154155

155156
->set('uri_signer', UriSigner::class)
156157
->args([
157-
param('kernel.secret'),
158+
new Parameter('kernel.secret')
158159
])
159160
->alias(UriSigner::class, 'uri_signer')
160161

0 commit comments

Comments
 (0)