/** * Wrapper method for MongoClient::listDBs(). * * @see http://php.net/manual/en/mongoclient.listdbs.php * @return array */ public function listDatabases() { $this->initialize(); return $this->mongoClient->listDBs(); }