function AbstractClassLoaderDecorator::setFinder in X Autoload 7.4
Same name and namespace in other branches
- 7.5 src/ClassLoader/AbstractClassLoaderDecorator.php \Drupal\xautoload\ClassLoader\AbstractClassLoaderDecorator::setFinder()
Replace the finder with another one.
Parameters
ClassFinderInterface $finder: The object that does the actual class finding.
File
- lib/
ClassLoader/ AbstractClassLoaderDecorator.php, line 31
Class
- AbstractClassLoaderDecorator
- Behaves mostly like the Symfony ClassLoader classes.
Namespace
Drupal\xautoload\ClassLoaderCode
function setFinder($finder) {
$this->finder = $finder;
}