You are here

function xautoload_BootSchedule_Proxy::setFinder in X Autoload 7.3

The proxy finder has materialized, and needs all scheduled namespace registrations to run now.

Parameters

xautoload_ClassFinder_Interface $finder: The class finder where we register the namespaces and prefixes.

File

lib/BootSchedule/Proxy.php, line 38

Class

xautoload_BootSchedule_Proxy

Code

function setFinder($finder) {

  // Activate instantiation of the proxied schedule.
  // This will trigger all scheduled operations to run.
  $schedule = $this
    ->proxyGetInstance();

  // The schedule already knows the finder object.
  // Verify that it has the correct finder.
  $schedule
    ->verifyFinderInstance($finder);
}