public static function get($key, $default = null)
    {
        $value = getenv(Str::upper($key));

        if (is_string($value)) {
            return $value;
        }

        return isset(static::$env[$key]) ? static::$env[$key] : $default;
    }
public static function get($key, $default = null)
    {
        $value = getenv(Str::upper($key));

        if (is_string($value)) {
            return $value;
        }

        return isset(static::$env[$key]) ? static::$env[$key] : $default;
    }
public static function get ( $ key , $ default = null ) { $ value = getenv ( Str :: upper ( $ key ) ) ; if ( is_string ( $ value ) ) { return $ value ; } return isset ( static :: $ env [ $ key ] ) ? static :: $ env [ $ key ] : $ default ; }
Retrieve information from the environment

@param  string $key
@param  null   $default

@return mixed
Retrieve information from the environment