You are here

function AbstractClassLoader::unregister in X Autoload 7.4

Same name and namespace in other branches
  1. 7.5 src/ClassLoader/AbstractClassLoader.php \Drupal\xautoload\ClassLoader\AbstractClassLoader::unregister()

Unregister from the spl autoload stack.

Overrides ClassLoaderInterface::unregister

File

lib/ClassLoader/AbstractClassLoader.php, line 38

Class

AbstractClassLoader
Behaves mostly like the Symfony ClassLoader classes.

Namespace

Drupal\xautoload\ClassLoader

Code

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