public function onAfterPerformIteration() { if ($this->getPercent() == 100) { Finder::setIndexValid(); } }