public static function load($interceptor = null)
    {
        if (static::$_interceptor) {
            static::unpatch();
        }

        $original = $interceptor->originalLoader();
        $success = spl_autoload_register($interceptor->loader(), true, true);
        spl_autoload_unregister($original);

        static::$_interceptor = $interceptor;
        return $success;
    }
public static function load($interceptor = null)
    {
        if (static::$_interceptor) {
            static::unpatch();
        }

        $original = $interceptor->originalLoader();
        $success = spl_autoload_register($interceptor->loader(), true, true);
        spl_autoload_unregister($original);

        static::$_interceptor = $interceptor;
        return $success;
    }
public static function load ( $ interceptor = null ) { if ( static :: $ _interceptor ) { static :: unpatch ( ) ; } $ original = $ interceptor -> originalLoader ( ) ; $ success = spl_autoload_register ( $ interceptor -> loader ( ) , true , true ) ; spl_autoload_unregister ( $ original ) ; static :: $ _interceptor = $ interceptor ; return $ success ; }
Loads an interceptor autoloader.

@param  array   $loader The autoloader to use.
@return boolean         Returns `true` on success, `false` otherwise.
Loads an interceptor autoloader .