You are here

function LibraryCacheMissObserver::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/Libraries/LibraryCacheMissObserver.php, line 40

Class

LibraryCacheMissObserver

Namespace

Drupal\xautoload\Libraries

Code

function cacheMiss($finder) {
  $adapter = \xautoload_InjectedAPI_hookXautoload::create($finder, $this->path);
  call_user_func($this->callable, $adapter, $this->path);
}