Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ae00801

Browse files
authoredFeb 27, 2019
Merge pull request #1696 from emprove/master
reassigned getDatabaseName method
2 parents 4f999ba + 625033e commit ae00801

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
 

‎src/Jenssegers/Mongodb/Connection.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,14 @@ public function getMongoClient()
113113
return $this->connection;
114114
}
115115

116+
/**
117+
* {@inheritdoc}
118+
*/
119+
public function getDatabaseName()
120+
{
121+
return $this->getMongoDB()->getDatabaseName();
122+
}
123+
116124
/**
117125
* Create a new MongoDB connection.
118126
*

0 commit comments

Comments
 (0)
Please sign in to comment.