Secret
in package
Manage environnement variables and other secret keys
Table of Contents
Properties
- $envPath : string
- The path where the .env file is located
Methods
- __construct() : mixed
- Construct a .env file path
- getEnv() : void
- Import the .env file
Properties
$envPath
The path where the .env file is located
private
string
$envPath
Methods
__construct()
Construct a .env file path
public
__construct(string $anEnvPath) : mixed
Parameters
- $anEnvPath : string
-
The file path where the .env file is located
getEnv()
Import the .env file
public
getEnv() : void