Skip to content

Commit 48e1028

Browse files
committed
Tweak
1 parent 4bd105a commit 48e1028

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

configuration.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -629,6 +629,7 @@ This example shows how you could configure the application secret using an env v
629629
http://symfony.com/schema/dic/symfony
630630
https://symfony.com/schema/dic/symfony/symfony-1.0.xsd">
631631
632+
<!-- by convention the env var names are always uppercase -->
632633
<framework:config secret="%env(APP_SECRET)%"/>
633634
634635
</container>
@@ -640,6 +641,7 @@ This example shows how you could configure the application secret using an env v
640641
641642
return static function (ContainerConfigurator $containerConfigurator) {
642643
$container->extension('framework', [
644+
// by convention the env var names are always uppercase
643645
'secret' => '%env(APP_SECRET)%',
644646
]);
645647
};

0 commit comments

Comments
 (0)