Autoloader Options

Add the ability to set the autoloader options.
This commit is contained in:
Brandon Skrtich 2014-06-06 13:34:01 -06:00
parent 09a143fe71
commit 8b0472dd52

View File

@ -30,9 +30,9 @@ class Autoloader
*
* @return void
*/
public static function register()
public static function register($throw = true, $prepend = false)
{
spl_autoload_register(array(new self, 'autoload'));
spl_autoload_register(array(new self, 'autoload'), $throw, $prepend);
}
/**