public function dropAllIndexes($collection) { $this->beginProfile($token = " > drop all indexes on " . $this->composeCollectionLogName($collection) . ") ..."); $this->db->getCollection($collection)->dropAllIndexes(); $this->endProfile($token); }