Example #1
0
 /**
  * Removes this Autoloader from the stack
  *
  * If this was resposnible for removing any other autoloaders during
  * _normalizeSearchPaths() the other autoloaders is readded again.
  *
  * @see _removeByNormalization()
  * @see _normalizeSearchPaths()
  * @see removeAll()
  * @see $_unregisteredNormalizedAutoloaders
  * @return void
  */
 public function remove()
 {
     parent::remove();
     $autoloaders = self::$_unregisteredNormalizedAutoloaders;
     self::$_unregisteredNormalizedAutoloaders = array();
     foreach ($autoloaders as $autoloader) {
         $autoloader->register();
     }
 }