| 1 | <?php |
||
| 7 | class DotEnvFactory |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @param string $name |
||
| 11 | * @param string $file |
||
| 12 | * @return Dotenv |
||
| 13 | */ |
||
| 14 | 1 | public static function createFromConstant($name, $file) |
|
| 20 | |||
| 21 | /** |
||
| 22 | * @param string $name |
||
| 23 | * @param string $file |
||
| 24 | * @return Dotenv |
||
| 25 | */ |
||
| 26 | 1 | public static function createFromEnvironmentVariable($name, $file) |
|
| 32 | |||
| 33 | /** |
||
| 34 | * @param string $file |
||
| 35 | * @return Dotenv |
||
| 36 | */ |
||
| 37 | 1 | public static function createFromWorkingDirectory($file) |
|
| 43 | |||
| 44 | /** |
||
| 45 | * @param string $path |
||
| 46 | * @param string $file |
||
| 47 | * @return Dotenv |
||
| 48 | */ |
||
| 49 | 4 | public static function create($path, $file) |
|
| 53 | } |
||
| 54 |