$path
$path : string
The directory where the .env file can be located.
Environment-specific configuration
sanitizeValue(string $value) : string
Strips quotes from the environment variable value.
This was borrowed from the excellent phpdotenv with very few changes. https://github.com/vlucas/phpdotenv
string | $value |
resolveNestedVariables( $value) : string
Resolve the nested variables.
Look for ${varname} patterns in the variable value and replace with an existing environment variable.
This was borrowed from the excellent phpdotenv with very few changes. https://github.com/vlucas/phpdotenv
$value |
getVariable(string $name) : string|null
Search the different places for environment variables and return first value found.
This was borrowed from the excellent phpdotenv with very few changes. https://github.com/vlucas/phpdotenv
string | $name |
Loading…