protected function getGridFS($prefix = 'fs', \MongoDB $database = null) { if ($database === null) { $database = $this->getDatabase(); } return $database->getGridFS($prefix); }