/** * Resets the cache * * As this implementation uses a cache, any configuration change will discard * the cache. * * @see AutoloaderFileIterator::reset() * @return void */ protected function reset() { parent::reset(); $this->_foundFiles = array(); $this->_iterator = new AutoloaderFileIterator_Simple(); $this->_iterator->setSkipFilesize($this->skipFilesize); $this->_iterator->skipPatterns = $this->skipPatterns; if (!is_null($this->autoloader)) { $this->_iterator->setAutoloader($this->autoloader); } }
/** * Resets the cache of this object * * As this implementation uses a cache, any configuration change will discard * the cache. * * @see AutoloaderFileIterator::reset() * @return void */ protected function reset() { parent::reset(); unset($this->_preferedFiles); unset($this->_unpreferedFiles); unset($this->_iterator); }