/** * Get the MongoDB instance being wrapped. * * @return MongoDB $mongoDB */ public function getMongoDB() { return $this->connection->getMongo()->selectDB($this->name); }