Skip to content

Commit ae892ab

Browse files
committed
minor #16510 improve .env doc (houssemzi)
This PR was merged into the 4.4 branch. Discussion ---------- improve .env doc <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `6.x` for features of unreleased versions). --> Commits ------- 7b9ac69 improve .env doc
2 parents ecef5f1 + 7b9ac69 commit ae892ab

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

configuration.rst

+5
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,11 @@ In addition to your own env vars, this ``.env`` file also contains the env vars
589589
defined by the third-party packages installed in your application (they are
590590
added automatically by :ref:`Symfony Flex <symfony-flex>` when installing packages).
591591

592+
.. tip::
593+
594+
Since the ``.env`` file is read and parsed on every request, you don't need to
595+
clear the Symfony cache or restart the PHP container if you're using Docker.
596+
592597
.env File Syntax
593598
................
594599

0 commit comments

Comments
 (0)