original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Loads an interceptor autoloader.
  
  @param  array   $loader The autoloader to use.
  @return boolean         Returns `true` on success, `false` otherwise.
docstring_tokens: Loads an interceptor autoloader .