Trait ConfigHelperTrait This trait is used to provide helper methods for the configuration classes.
Ensure that the path is normalized.
/
(e.g. "\a/b\c" becomes "/a/b/c")$path | string |
Return | string |
Load the environment variables from the .env file into the $_ENV superglobal.
Return | void |
Access the environment variables from the $_ENV superglobal using getenv().
$name | string |
$default | string|bool|int |
Return | string|bool|int |