You are here

public function ClassLoader::unregister in Zircon Profile 8.0

Same name in this branch
  1. 8.0 vendor/composer/ClassLoader.php \Composer\Autoload\ClassLoader::unregister()
  2. 8.0 vendor/symfony/class-loader/ClassLoader.php \Symfony\Component\ClassLoader\ClassLoader::unregister()
  3. 8.0 vendor/doctrine/common/lib/Doctrine/Common/ClassLoader.php \Doctrine\Common\ClassLoader::unregister()
Same name and namespace in other branches
  1. 8 vendor/doctrine/common/lib/Doctrine/Common/ClassLoader.php \Doctrine\Common\ClassLoader::unregister()

Removes this ClassLoader from the SPL autoload stack.

Return value

void

File

vendor/doctrine/common/lib/Doctrine/Common/ClassLoader.php, line 164

Class

ClassLoader
A <tt>ClassLoader</tt> is an autoloader for class files that can be installed on the SPL autoload stack. It is a class loader that either loads only classes of a specific namespace or all namespaces and it is suitable for working…

Namespace

Doctrine\Common

Code

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