function ProxyClassFinder::loadClass in X Autoload 7.4
Same name and namespace in other branches
- 7.5 src/ClassFinder/ProxyClassFinder.php \Drupal\xautoload\ClassFinder\ProxyClassFinder::loadClass()
Callback for class loading. This will include ("require") the file found.
Parameters
string $class: The class to load.
Overrides ClassLoaderInterface::loadClass
File
- lib/
ClassFinder/ ProxyClassFinder.php, line 51
Class
- ProxyClassFinder
- A placeholder class finder. Used to postpone expensive operations until they are actually needed.
Namespace
Drupal\xautoload\ClassFinderCode
function loadClass($class) {
$this
->initFinder();
$this->finder
->loadClass($class);
}