Skip to content

Commit c7711a5

Browse files
infaboGrahamCampbell
authored andcommitted
Clarify sense of required Validator (#233)
1 parent 2aa21ae commit c7711a5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,8 @@ $dotenv->overload();
138138
Requiring Variables to be Set
139139
-----------------------------
140140

141-
Using Dotenv, you can require specific ENV vars to be defined, and throw
142-
an Exception if they are not. This is particularly useful to let people know
143-
any explicit required variables that your app will not work without.
141+
Using Dotenv, you can require specific ENV vars to be defined ($_ENV, $_SERVER or getenv()) - throws an exception otherwise.
142+
Note: It does not check for existence of a variable in a '.env' file. This is particularly useful to let people know any explicit required variables that your app will not work without.
144143

145144
You can use a single string:
146145

0 commit comments

Comments
 (0)