We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bd105a commit 48e1028Copy full SHA for 48e1028
configuration.rst
@@ -629,6 +629,7 @@ This example shows how you could configure the application secret using an env v
629
http://symfony.com/schema/dic/symfony
630
https://symfony.com/schema/dic/symfony/symfony-1.0.xsd">
631
632
+ <!-- by convention the env var names are always uppercase -->
633
<framework:config secret="%env(APP_SECRET)%"/>
634
635
</container>
@@ -640,6 +641,7 @@ This example shows how you could configure the application secret using an env v
640
641
642
return static function (ContainerConfigurator $containerConfigurator) {
643
$container->extension('framework', [
644
+ // by convention the env var names are always uppercase
645
'secret' => '%env(APP_SECRET)%',
646
]);
647
};
0 commit comments