/** * Finds a file by class name while caching lookups to APC. * * @param string $class A class name to resolve to file * * @return string|null The path, if found */ public function findFile($class) { if (false === ($file = apc_fetch($this->prefix . $class))) { apc_store($this->prefix . $class, $file = parent::findFile($class)); } return $file; }
/** * Registers this instance as an autoloader. * * @param Boolean $prepend Whether to prepend the autoloader or not * * @api */ public function register($prepend = false) { $this->_performComposerAutoload(); parent::register($prepend); }