public static function load($file)
    {
        if (file_exists($file)) {
            $env = \M1\Env\Parser::parse(file_get_contents($file));
            foreach ($env as $key => $value) {
                putenv("{$key}={$value}");
            }
        }
    }
public static function load($file)
    {
        if (file_exists($file)) {
            $env = \M1\Env\Parser::parse(file_get_contents($file));
            foreach ($env as $key => $value) {
                putenv("{$key}={$value}");
            }
        }
    }
public static function load ( $ file ) { if ( file_exists ( $ file ) ) { $ env = \ M1 \ Env \ Parser :: parse ( file_get_contents ( $ file ) ) ; foreach ( $ env as $ key => $ value ) { putenv ( "{$key}={$value}" ) ; } } }
Load file containing environment variables and setup
environment with these variables

@param string $file

@return void
Load file containing environment variables and setup environment with these variables