protected function xautoload_LoaderManager::registerLoader in X Autoload 7.3
Register the new loader in the correct position in the spl autoload stack.
Parameters
object $loader: The loader to register.
bool $prepend:
1 call to xautoload_LoaderManager::registerLoader()
- xautoload_LoaderManager::switchLoaderMode in lib/
LoaderManager.php - Change the loader mode.
File
- lib/
LoaderManager.php, line 143
Class
- xautoload_LoaderManager
- This thing has an overview of available class loaders with different cache mechanics. It can detect the currently applicable cache method, and it can switch between cache methods.
Code
protected function registerLoader($loader, $prepend) {
// TODO: Figure out correct position in spl autoload stack.
$loader
->register($prepend);
}