From 086a347684788b22321f4d2dd7a34745b3a89e70 Mon Sep 17 00:00:00 2001 From: Thomas Landauer Date: Sun, 11 Dec 2022 11:02:07 +0100 Subject: [PATCH] Moving the new `env()` syntax upwards, to be shown as the preferred way --- configuration.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configuration.rst b/configuration.rst index d1ae76084a1..4265c1419b2 100644 --- a/configuration.rst +++ b/configuration.rst @@ -646,9 +646,9 @@ This example shows how you could configure the database connection using an env $container->extension('doctrine', [ 'dbal' => [ // by convention the env var names are always uppercase - 'url' => '%env(resolve:DATABASE_URL)%', - // or 'url' => env('DATABASE_URL')->resolve(), + // or + 'url' => '%env(resolve:DATABASE_URL)%', ], ]); };