src/Loader.php
public static function registerNew( $extensions = NULL, $prefix = NULL, $path = NULL, $logFile = NULL, $verbose = 0 )
	{
		$loader	= new Loader( $extensions, $prefix, $path, $logFile );
		$loader->setVerbose( (int) $verbose );
		$loader->registerAutoloader();
		return $loader;
	}
public static function registerNew( $extensions = NULL, $prefix = NULL, $path = NULL, $logFile = NULL, $verbose = 0 )
	{
		$loader	= new Loader( $extensions, $prefix, $path, $logFile );
		$loader->setVerbose( (int) $verbose );
		$loader->registerAutoloader();
		return $loader;
	}
public static function registerNew ( $ extensions = NULL , $ prefix = NULL , $ path = NULL , $ logFile = NULL , $ verbose = 0 ) { $ loader = new Loader ( $ extensions , $ prefix , $ path , $ logFile ) ; $ loader -> setVerbose ( ( int ) $ verbose ) ; $ loader -> registerAutoloader ( ) ; return $ loader ; }
Register new Autoloader statically.
@static
@access		public
@param		mixed		$extensions		String or List of supported Class File Extensions
@param		string		$prefix			Prefix of Classes
@param		string		$path			Path to Classes
@param		string		$logFile		Path to autoload log file
@param		boolean		$verbose		Verbosity: 0 - quiet | 1 - show load | 2 - show scan (default: 0 - quiet)
@return		Loader
@deprecated	not working in PHP 5.2
Register new Autoloader statically .