Composer\Autoload

ClassLoader::unregister()publicWPSCache 1.0

Unregisters this instance as an autoloader.

Method of the class: ClassLoader{}

No Hooks.

Return

null. Nothing.

Usage

$ClassLoader = new ClassLoader();
$ClassLoader->unregister();

ClassLoader::unregister() code WPSCache 1.9.2

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

    if (null !== $this->vendorDir) {
        unset(self::$registeredLoaders[$this->vendorDir]);
    }
}