protected function getDatabase(\MongoClient $client = null) { if ($client === null) { $client = $this->getClient(); } return $client->selectDB('mongo-php-adapter'); }