File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,17 @@ New in Version 3 is first-class support for multiline variables
17
17
([ #301 ] ( https://github.com/vlucas/phpdotenv/pull/301 ) ) and much more
18
18
flexibility in terms of which parts of the environment we try to read and
19
19
modify ([ #300 ] ( https://github.com/vlucas/phpdotenv/pull/300 ) ). Consequently,
20
- you will need to replace any occurences of ` new Dotenv(...) ` with
20
+ you will need to replace any occurrences of ` new Dotenv(...) ` with
21
21
` Dotenv::create(...) ` , since our new native constructor takes loader instance
22
22
now, so that it can be truly customized if required. Finally, one should note
23
- that starting from V3, the loader will no longer be trimming values
24
- ([ #302 ] ( https://github.com/vlucas/phpdotenv/pull/302 ) ).
23
+ the loader will no longer be trimming values
24
+ ([ #302 ] ( https://github.com/vlucas/phpdotenv/pull/302 ) ), moreover
25
+ ` Loader::load() ` and its callers now return an associative array of the
26
+ variables loaded with their values, rather than an array of raw lines from the
27
+ environment file ([ #306 ] ( https://github.com/vlucas/phpdotenv/pull/306 ) ).
28
+
29
+ For more details, please see the
30
+ [ release notes] ( https://github.com/vlucas/phpdotenv/releases/tag/v3.0.0 ) .
25
31
26
32
27
33
Why .env?
You can’t perform that action at this time.
0 commit comments