Liquid::registerAutoloader PHP Метод

registerAutoloader() публичный статический Метод

The new autoloader will be placed before {@link autoload} and after any other existing autoloaders.
public static registerAutoloader ( callback $callback )
$callback callback a valid PHP callback (function name or array($className,$methodName)).
    public static function registerAutoloader($callback)
    {
        spl_autoload_unregister(array('Liquid', 'autoload'));
        spl_autoload_register($callback);
        spl_autoload_register(array('Liquid', 'autoload'));
    }