function xautoload_ServiceFactory::cachedClassFinder in X Autoload 7.2
File
- lib/
ServiceFactory.php, line 17
Class
Code
function cachedClassFinder($registry) {
$apc_prefix = $this
->_apcPrefix();
if (!empty($apc_prefix) && FALSE) {
$finder = $registry->classFinder;
return new xautoload_ClassFinder_ApcCache($finder, $apc_prefix);
}
else {
return $registry->classFinder;
}
}