/** * Removes the Collection database file * * @return bool */ public function drop() { $filepath = $this->file->getFilePath(); unset($this->file); if (!file_exists($filepath)) { unlink($filepath); } return true; }