File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
FrameworkBundle/Resources/config
SecurityBundle/Resources/config Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 23
23
use Symfony \Component \Console \ConsoleEvents ;
24
24
use Symfony \Component \DependencyInjection \Config \ContainerParametersResourceChecker ;
25
25
use Symfony \Component \DependencyInjection \EnvVarProcessor ;
26
+ use Symfony \Component \DependencyInjection \Parameter ;
26
27
use Symfony \Component \DependencyInjection \ParameterBag \ContainerBag ;
27
28
use Symfony \Component \DependencyInjection \ParameterBag \ContainerBagInterface ;
28
29
use Symfony \Component \DependencyInjection \ParameterBag \ParameterBagInterface ;
@@ -154,7 +155,7 @@ class_exists(WorkflowEvents::class) ? WorkflowEvents::ALIASES : []
154
155
155
156
->set ('uri_signer ' , UriSigner::class)
156
157
->args ([
157
- param ('kernel.secret ' ),
158
+ new Parameter ('kernel.secret ' )
158
159
])
159
160
->alias (UriSigner::class, 'uri_signer ' )
160
161
Original file line number Diff line number Diff line change 12
12
namespace Symfony \Component \DependencyInjection \Loader \Configurator ;
13
13
14
14
use Symfony \Bundle \SecurityBundle \LoginLink \FirewallAwareLoginLinkHandler ;
15
+ use Symfony \Component \DependencyInjection \Parameter ;
15
16
use Symfony \Component \Security \Core \Signature \ExpiredSignatureStorage ;
16
17
use Symfony \Component \Security \Core \Signature \SignatureHasher ;
17
18
use Symfony \Component \Security \Http \Authenticator \LoginLinkAuthenticator ;
43
44
->args ([
44
45
service ('property_accessor ' ),
45
46
abstract_arg ('signature properties ' ),
46
- ' % kernel.secret% ' ,
47
+ new Parameter ( ' kernel.secret ' ) ,
47
48
abstract_arg ('expired signature storage ' ),
48
49
abstract_arg ('max signature uses ' ),
49
50
])
Original file line number Diff line number Diff line change 12
12
namespace Symfony \Component \DependencyInjection \Loader \Configurator ;
13
13
14
14
use Symfony \Bundle \SecurityBundle \RememberMe \FirewallAwareRememberMeHandler ;
15
+ use Symfony \Component \DependencyInjection \Parameter ;
15
16
use Symfony \Component \Security \Core \Signature \SignatureHasher ;
16
17
use Symfony \Component \Security \Http \Authenticator \RememberMeAuthenticator ;
17
18
use Symfony \Component \Security \Http \EventListener \CheckRememberMeConditionsListener ;
30
31
->args ([
31
32
service ('property_accessor ' ),
32
33
abstract_arg ('signature properties ' ),
33
- ' % kernel.secret% ' ,
34
+ new Parameter ( ' kernel.secret ' ) ,
34
35
null ,
35
36
null ,
36
37
])
You can’t perform that action at this time.
0 commit comments