Skip to content

Commit ea6da09

Browse files
committed
PHPLIB-45: Prototype for collection enumeration method
1 parent 448800b commit ea6da09

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/Database.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,18 @@ public function dropCollection($collectionName)
6868
// TODO
6969
}
7070

71+
/**
72+
* Returns information for all collections in this database.
73+
*
74+
* @see http://docs.mongodb.org/manual/reference/command/listCollections/
75+
* @param array $options
76+
* @return Result
77+
*/
78+
public function listCollections(array $options = array())
79+
{
80+
// TODO
81+
}
82+
7183
/**
7284
* Select a specific collection in this database
7385
*

0 commit comments

Comments
 (0)