public function ClassLoader::register in Hook Update Deploy Tools 7
Registers this instance as an autoloader.
Parameters
bool $prepend Whether to prepend the autoloader or not:
File
- vendor/
composer/ ClassLoader.php, line 279
Class
- ClassLoader
- ClassLoader implements a PSR-0 class loader
Namespace
Composer\AutoloadCode
public function register($prepend = false) {
spl_autoload_register(array(
$this,
'loadClass',
), true, $prepend);
}