You are here

function CacheMissLoaderSetFinder::cacheMiss in X Autoload 7.5

Executes the operation.

This method will only be called if and when the "real" class finder is initialized.

Parameters

ExtendedClassFinderInterface $finder: The class finder.

Overrides CacheMissObserverInterface::cacheMiss

File

src/CacheMissObserver/CacheMissLoaderSetFinder.php, line 44

Class

CacheMissLoaderSetFinder
Replaces the ProxyClassFinder in the ClassLoader with the real ClassLoader.

Namespace

Drupal\xautoload\CacheMissObserver

Code

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