You are here

public function LibrariesOnInit::wakeUp in X Autoload 7.5

Wake up after a cache fail.

Parameters

ExtendedClassFinderInterface $finder:

string[] $extensions: Extension type by extension name.

Overrides PhaseObserverInterface::wakeUp

File

src/Libraries/LibrariesOnInit.php, line 42

Class

LibrariesOnInit
Registers autoload mappings from all libraries on hook_init(), or after the first cache miss.

Namespace

Drupal\xautoload\Libraries

Code

public function wakeUp(ExtendedClassFinderInterface $finder, array $extensions) {
  $this->finder = $finder;
}