Removes this ClassLoader from the SPL autoload stack.
File
- drupal/core/vendor/doctrine/common/lib/Doctrine/Common/ClassLoader.php, line 144
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',
));
}