Exemple #1
0
 /**
  * Initializes an index with an Autoloader and for
  * AutoloaderIndex_File instances with an index path
  *
  * @param AutoloaderIndex $index The index which should be initialized
  *
  * @return void
  */
 private function _initIndex(AutoloaderIndex $index)
 {
     $index->setAutoloader(new Autoloader());
     if ($index instanceof AutoloaderIndex_File) {
         $index->setIndexPath($this->_getIndexFile());
     }
 }