From 7b9ac691b1d446e65c5fe60a92994ae6fcfc66b6 Mon Sep 17 00:00:00 2001 From: Houssem ZITOUN Date: Mon, 14 Feb 2022 15:03:26 +0100 Subject: [PATCH] improve .env doc --- configuration.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configuration.rst b/configuration.rst index f76a2aa09aa..035def1e7c4 100644 --- a/configuration.rst +++ b/configuration.rst @@ -583,6 +583,11 @@ In addition to your own env vars, this ``.env`` file also contains the env vars defined by the third-party packages installed in your application (they are added automatically by :ref:`Symfony Flex ` when installing packages). +.. tip:: + + Since the ``.env`` file is read and parsed on every request, you don't need to + clear the Symfony cache or restart the PHP container if you're using Docker. + .env File Syntax ................