public static function reset($env = null) {
		if ($env) {
			unset(static::$_configurations[$env]);
			return;
		}
		static::$_current = '';
		static::$_detector = null;
		static::$_configurations = [
			'production' => [],
			'development' => [],
			'test' => []
		];
	}
public static function reset($env = null) {
		if ($env) {
			unset(static::$_configurations[$env]);
			return;
		}
		static::$_current = '';
		static::$_detector = null;
		static::$_configurations = [
			'production' => [],
			'development' => [],
			'test' => []
		];
	}
public static function reset ( $ env = null ) { if ( $ env ) { unset ( static :: $ _configurations [ $ env ] ) ; return ; } static :: $ _current = '' ; static :: $ _detector = null ; static :: $ _configurations = [ 'production' => [ ] , 'development' => [ ] , 'test' => [ ] ] ; }
Resets the `Environment` class to its default state, including unsetting the current
environment, removing any environment-specific configurations, and removing the custom
environment detector, if any has been specified.

@param $env If set, delete the defined environment only.
Resets the Environment class to its default state including unsetting the current environment removing any environment - specific configurations and removing the custom environment detector if any has been specified .