File tree 2 files changed +5
-0
lines changed
2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ CHANGELOG
15
15
* Attach the workflow's configuration to the ` workflow ` tag
16
16
* Add the ` allowed_recipients ` option for mailer to allow some users to receive
17
17
emails even if ` recipients ` is defined.
18
+ * Reset env vars when resetting the container
18
19
19
20
7.0
20
21
---
Original file line number Diff line number Diff line change 13
13
14
14
use Symfony \Bundle \FrameworkBundle \Secrets \DotenvVault ;
15
15
use Symfony \Bundle \FrameworkBundle \Secrets \SodiumVault ;
16
+ use Symfony \Component \DependencyInjection \StaticEnvVarLoader ;
16
17
17
18
return static function (ContainerConfigurator $ container ) {
18
19
$ container ->services ()
21
22
abstract_arg ('Secret dir, set in FrameworkExtension ' ),
22
23
service ('secrets.decryption_key ' )->ignoreOnInvalid (),
23
24
])
25
+
26
+ ->set ('secrets.env_var_loader ' , StaticEnvVarLoader::class)
27
+ ->args ([service ('secrets.vault ' )])
24
28
->tag ('container.env_var_loader ' )
25
29
26
30
->set ('secrets.decryption_key ' )
You can’t perform that action at this time.
0 commit comments