src/Config.php
public static function getBool( $name, $default = false ) {
		$var = getenv( $name );
		$val = filter_var( $var, \FILTER_VALIDATE_BOOLEAN, \FILTER_NULL_ON_FAILURE );
		return ( $val === null ) ? $default : $val;
	}
public static function getBool( $name, $default = false ) {
		$var = getenv( $name );
		$val = filter_var( $var, \FILTER_VALIDATE_BOOLEAN, \FILTER_NULL_ON_FAILURE );
		return ( $val === null ) ? $default : $val;
	}
public static function getBool ( $ name , $ default = false ) { $ var = getenv ( $ name ) ; $ val = filter_var ( $ var , \ FILTER_VALIDATE_BOOLEAN , \ FILTER_NULL_ON_FAILURE ) ; return ( $ val === null ) ? $ default : $ val ; }
Get a boolean value
@param string $name Setting name
@param bool $default Default value if none found
@return bool Value
Get a boolean value