You are here

function xautoload_BootSchedule_Helper_Base::verifyFinderInstance in X Autoload 7.3

Parameters

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

Throws

Exception

File

lib/BootSchedule/Helper/Base.php, line 23

Class

xautoload_BootSchedule_Helper_Base

Code

function verifyFinderInstance($finder) {
  if ($finder !== $this->finder) {
    throw new Exception("Wrong finder instance.");
  }
}