Méthode |
Description |
|
__construct ( string $path ) |
Instantiate the Env. |
|
all ( ) : array |
Gets all the key/value pairs from the .env file. |
|
copy ( string $destination, boolean $excludeValues = false ) : boolean |
Copy the .env file to the given destination. |
|
delete ( string $key ) : Env |
Delete an entry from the .env file. |
|
get ( string $key ) : string |
Get an entry from the .env file by key. |
|
getPath ( ) : string |
Get the full path to the .env file. |
|
replaceInFile ( string $old, string $new, integer $append ) : Env |
Replace a part of the .env file. |
|
rollback ( ) : Env |
Rolls the .env file back to the way it was before performing the command. |
|
set ( string $key, string $value, boolean $linebreak = false ) : Env |
Set the value of the given key to the value supplied. |
|