@@ -872,16 +872,14 @@ the env files ending in ``.local`` (``.env.local`` and ``.env.<environment>.loca
872872**should not be committed ** because only you will use them. In fact, the
873873``.gitignore `` file that comes with Symfony prevents them from being committed.
874874
875- Overriding Environment Values Defined By The System
876- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
875+ Overriding Environment Variables Defined By The System
876+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
877877
878- You may need to override an environment value defined by the system. This can
879- be done thanks to the :class: ` Symfony \\ Component \\ Dotenv \\ Dotenv ` class. The
878+ If you need to override an environment variable defined by the system, use the
879+ `` overrideExistingVars `` parameter defined by the
880880:method: `Symfony\\ Component\\ Dotenv\\ Dotenv::loadEnv `,
881881:method: `Symfony\\ Component\\ Dotenv\\ Dotenv::bootEnv `, and
882- :method: `Symfony\\ Component\\ Dotenv\\ Dotenv::populate ` methods accept an optional
883- ``overrideExistingVars `` parameter that allows you to override existing environment
884- variables set by the system::
882+ :method: `Symfony\\ Component\\ Dotenv\\ Dotenv::populate ` methods::
885883
886884 use Symfony\Component\Dotenv\Dotenv;
887885
@@ -890,8 +888,8 @@ variables set by the system::
890888
891889 // ...
892890
893- This will override environment variables defined by the system
894- and ** won't ** override environment variables defined in ``.env `` files.
891+ This will override environment variables defined by the system but it ** won't **
892+ override environment variables defined in ``.env `` files.
895893
896894.. _configuration-env-var-in-prod :
897895
0 commit comments