You are here

function AbstractClassLoaderDecorator::setFinder in X Autoload 7.5

Same name and namespace in other branches
  1. 7.4 lib/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

src/ClassLoader/AbstractClassLoaderDecorator.php, line 31

Class

AbstractClassLoaderDecorator
Behaves mostly like the Symfony ClassLoader classes.

Namespace

Drupal\xautoload\ClassLoader

Code

function setFinder($finder) {
  $this->finder = $finder;
}