File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -14,12 +14,12 @@ Environment Variables
14
14
---------------------
15
15
16
16
Symfony will grab any environment variable prefixed with ``SYMFONY__ `` and
17
- set it as a parameter in the service container. Some transformations are
17
+ set it as a parameter in the service container. Some transformations are
18
18
applied to the resulting parameter name:
19
19
20
20
* ``SYMFONY__ `` prefix is removed;
21
21
* Parameter name is lowercased;
22
- * Double underscores are replaced with a period, as a period is not
22
+ * Double underscores are replaced with a period, as a period is not
23
23
a valid character in an environment variable name.
24
24
25
25
For example, if you're using Apache, environment variables can be set using
@@ -98,14 +98,6 @@ You can now reference these parameters wherever you need them.
98
98
)
99
99
));
100
100
101
- .. note ::
102
-
103
- Even in debug mode, setting or changing an environment variable
104
- requires your cache to be cleared to make the parameter available.
105
- In debug mode, this is required since only a change to a configuration
106
- file that is loaded by Symfony triggers your configuration to be
107
- re-evaluated.
108
-
109
101
Constants
110
102
---------
111
103
You can’t perform that action at this time.
0 commit comments