Ejemplo n.º 1
0
 private function removeAllFinds()
 {
     $count = 0;
     $findNodes = $this->finds->getAll();
     $bar = $this->output->createProgressBar(count($findNodes));
     foreach ($findNodes as $findNode) {
         $find = new FindEvent();
         $find->setNode($findNode);
         $find->delete();
         $bar->advance();
         $count++;
     }
     $this->info("");
     $this->info("Removed {$count} FindEvent nodes.");
 }