src/Config.php
public static function getStr( $name, $default = '' ) {
		$var = getenv( $name );
		if ( $var !== false ) {
			$var = filter_var( $var,
				\FILTER_SANITIZE_STRING,
				\FILTER_FLAG_STRIP_LOW | \FILTER_FLAG_STRIP_HIGH
			);
		}
		return ( $var === false ) ? $default : $var;
	}
public static function getStr( $name, $default = '' ) {
		$var = getenv( $name );
		if ( $var !== false ) {
			$var = filter_var( $var,
				\FILTER_SANITIZE_STRING,
				\FILTER_FLAG_STRIP_LOW | \FILTER_FLAG_STRIP_HIGH
			);
		}
		return ( $var === false ) ? $default : $var;
	}
public static function getStr ( $ name , $ default = '' ) { $ var = getenv ( $ name ) ; if ( $ var !== false ) { $ var = filter_var ( $ var , \ FILTER_SANITIZE_STRING , \ FILTER_FLAG_STRIP_LOW | \ FILTER_FLAG_STRIP_HIGH ) ; } return ( $ var === false ) ? $ default : $ var ; }
Get a string value
@param string $name Setting name
@param string $default Default value if none found
@return string Value
Get a string value