src/Foundation/Services/Environment.php
/**
	 * Deletes the specified environment variables from all registers.
	 *
	 * If the `$useOverridesRegister` parameter is true, then the variable is only removed from the override register.
	 *
	 * @param string $name
	 * @param bool $useOverridesRegister
	 * @return void
	 */
Deletes the specified environment variables from all registers.
If the `$useOverridesRegister` parameter is true, then the variable is only removed from the override register.

@param string $name
@param bool $useOverridesRegister
@return void
Deletes the specified environment variables from all registers . If the ` $useOverridesRegister ` parameter is true then the variable is only removed from the override register . @param string $name @param bool $useOverridesRegister @return void
public static function delete($name, $useOverridesRegister = false) {
		$name = strtolower($name);
		if (isset(static::$overrideData[$name])) {
			unset(static::$overrideData[$name]);
		}
		if (!$useOverridesRegister && isset(static::$processData[$name])) {
			unset(static::$processData[$name]);
		}
		if (!$useOverridesRegister && isset(static::$fileData[$name])) {
			unset(static::$fileData[$name]);
		}
	}
public static function delete ( $ name , $ useOverridesRegister = false ) { $ name = strtolower ( $ name ) ; if ( isset ( static :: $ overrideData [ $ name ] ) ) { unset ( static :: $ overrideData [ $ name ] ) ; } if ( ! $ useOverridesRegister && isset ( static :: $ processData [ $ name ] ) ) { unset ( static :: $ processData [ $ name ] ) ; } if ( ! $ useOverridesRegister && isset ( static :: $ fileData [ $ name ] ) ) { unset ( static :: $ fileData [ $ name ] ) ; } }
Deletes the specified environment variables from all registers.
Deletes the specified environment variables from all registers .