/**
  * @param UncacherBaseDaoWorker $uncacher
  *
  * @return UncacherBaseDaoWorker
  */
 private function mergeSelf(UncacherSmartDaoWorkerLists $uncacher)
 {
     foreach ($uncacher->getClassNameMap() as $className => $classNameRow) {
         if (!isset($this->classNameMap[$className])) {
             $this->classNameMap[$className] = $classNameRow;
         }
     }
     return $this;
 }
Ejemplo n.º 2
0
 public function uncacheLists()
 {
     $intKey = $this->keyToInt($this->indexKey);
     return $this->registerUncacher(UncacherSmartDaoWorkerLists::create($this->className, $this->indexKey, $intKey));
 }