-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 1.0.0-beta1
-
Component/s: None
-
None
Currently, Collection and Database constructors, Client::selectDatabase(), and Database::selectCollection() all take their optional WriteConcern and ReadPreference arguments by position. Using an options array would be more flexible, consistent with our Operation classes (which take them as named options already), and not require users to remember which comes first.
- depends on
-
PHPLIB-145 Implement __debugInfo() for Client, Database, and Collection classes
- Closed
- is depended on by
-
PHPLIB-49 withOptions() method for cloning immutable Database and Collection objects
- Closed