public function ClassLoader::register in Smart IP 7.2
Same name and namespace in other branches
- 6.2 includes/vendor/composer/ClassLoader.php \Composer\Autoload\ClassLoader::register()
Registers this instance as an autoloader.
Parameters
bool $prepend Whether to prepend the autoloader or not:
File
- includes/
vendor/ composer/ ClassLoader.php, line 279
Class
- ClassLoader
- ClassLoader implements a PSR-0, PSR-4 and classmap class loader.
Namespace
Composer\AutoloadCode
public function register($prepend = false) {
spl_autoload_register(array(
$this,
'loadClass',
), true, $prepend);
}