public static function make (string $file, array $variables=[]) : bool
	{
		$fileLocation = static::fileAnalyzer($file);			
		if (file_exists($fileLocation)):
			ob_start(getConstant('MINIFY_HTML_OUTPUT') ? 'minifyHTMLOutput' : NULL);
			if (!empty($variables)) self::with($variables);
	        extract($GLOBALS, EXTR_OVERWRITE);
			extract(static::$passedVariables, EXTR_OVERWRITE);
			require getConstant("BOOTSTRAP", TRUE)."Initializers.php";
			require_once $fileLocation;
			ob_end_flush();
			// print ob_get_clean();
			return TRUE;
		endif;
		print "'$fileLocation': File was not found."; 
		return FALSE;
	}
public static function make (string $file, array $variables=[]) : bool
	{
		$fileLocation = static::fileAnalyzer($file);			
		if (file_exists($fileLocation)):
			ob_start(getConstant('MINIFY_HTML_OUTPUT') ? 'minifyHTMLOutput' : NULL);
			if (!empty($variables)) self::with($variables);
	        extract($GLOBALS, EXTR_OVERWRITE);
			extract(static::$passedVariables, EXTR_OVERWRITE);
			require getConstant("BOOTSTRAP", TRUE)."Initializers.php";
			require_once $fileLocation;
			ob_end_flush();
			// print ob_get_clean();
			return TRUE;
		endif;
		print "'$fileLocation': File was not found."; 
		return FALSE;
	}
public static function make ( string $ file , array $ variables = [ ] ) : bool { $ fileLocation = static :: fileAnalyzer ( $ file ) ; if ( file_exists ( $ fileLocation ) ) : ob_start ( getConstant ( 'MINIFY_HTML_OUTPUT' ) ? 'minifyHTMLOutput' : NULL ) ; if ( ! empty ( $ variables ) ) self :: with ( $ variables ) ; extract ( $ GLOBALS , EXTR_OVERWRITE ) ; extract ( static :: $ passedVariables , EXTR_OVERWRITE ) ; require getConstant ( "BOOTSTRAP" , TRUE ) . "Initializers.php" ; require_once $ fileLocation ; ob_end_flush ( ) ; // print ob_get_clean(); return TRUE ; endif ; print "'$fileLocation': File was not found." ; return FALSE ; }
Make a view.
@param string $file
@param array $variables
@return bool
Make a view .