You are here

function xautoload_ClassLoader_NoCache::findFile in X Autoload 7.3

For compatibility, it is possible to use the class loader as a finder.

Parameters

string $class: The class to find.

Return value

string File where the class is assumed to be.

Overrides xautoload_ClassLoader_Interface::findFile

1 call to xautoload_ClassLoader_NoCache::findFile()
xautoload_ClassLoader_ApcCache::findFile in lib/ClassLoader/ApcCache.php
For compatibility, it is possible to use the class loader as a finder.
1 method overrides xautoload_ClassLoader_NoCache::findFile()
xautoload_ClassLoader_ApcCache::findFile in lib/ClassLoader/ApcCache.php
For compatibility, it is possible to use the class loader as a finder.

File

lib/ClassLoader/NoCache.php, line 87

Class

xautoload_ClassLoader_NoCache
Behaves mostly like the Symfony ClassLoader classes.

Code

function findFile($class) {
  $api = new xautoload_InjectedAPI_findFile($class);
  if ($this->finder
    ->findFile($api, $class)) {
    return $api
      ->getFile();
  }
}