public function ClassLoader::register in Mobile Number 7
Registers this instance as an autoloader.
Parameters
bool $prepend: Whether to prepend the autoloader or not.
File
- include/
ClassLoader.php, line 315
Class
- ClassLoader
- ClassLoader implements a PSR-0, PSR-4 and classmap class loader.
Namespace
mobile_numberCode
public function register($prepend = FALSE) {
spl_autoload_register(array(
$this,
'loadClass',
), TRUE, $prepend);
}