You are here

function xautoload_ClassLoader_ApcCache::loadClass in X Autoload 7.3

Callback for class loading. This will include ("require") the file found.

Parameters

string $class: The class to load.

Overrides xautoload_ClassLoader_NoCache::loadClass

File

lib/ClassLoader/ApcCache.php, line 42

Class

xautoload_ClassLoader_ApcCache

Code

function loadClass($class) {
  if ($file = $this
    ->findFile($class)) {
    require $file;
  }
}