public function ClassLoader::unregister

Same name in this branch
  1. 9.x drupal/core/vendor/composer/ClassLoader.php \Composer\Autoload\ClassLoader::unregister()
  2. 9.x drupal/core/vendor/doctrine/common/lib/Doctrine/Common/ClassLoader.php \Doctrine\Common\ClassLoader::unregister()
  3. 9.x drupal/core/vendor/symfony/class-loader/Symfony/Component/ClassLoader/ClassLoader.php \Symfony\Component\ClassLoader\ClassLoader::unregister()

Unregisters this instance as an autoloader.

File

drupal/core/vendor/composer/ClassLoader.php, line 136

Class

ClassLoader
ClassLoader implements a PSR-0 class loader

Namespace

Composer\Autoload

Code

public function unregister() {
  spl_autoload_unregister(array(
    $this,
    'loadClass',
  ));
}