Пример #1
0
 /**
  * return MongoClient object.
  *
  * @return \Jenssegers\Mongodb\MongoClient 
  * @static 
  */
 public static function getMongoClient()
 {
     return \Jenssegers\Mongodb\Connection::getMongoClient();
 }
 /**
  * Get the underlying database connection.
  *
  * @return \Jenssegers\Mongodb\Connection
  */
 public function getConnection()
 {
     return $this->connection->getMongoClient();
 }