-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
None
-
PHP Drivers
-
None
-
None
-
None
-
None
-
None
-
None
With PHPC-2699 adding properties to value objects and PHPC-2705 adding properties to BSON classes, the remaining classes that duplicate PHP's property logic are:
- MongoDB\Driver\Cursor
- MongoDB\Driver\Manager
- MongoDB\Driver\ServerDescription
- MongoDB\Driver\Session
- MongoDB\Driver\TopologyDescription
For MongoDB\Driver\Server, since most of the server's properties are actually contained in the ServerDescription, we should only add properties for values that aren't exposed in the ServerDescription alrady.
Since some of the properties will not have a constant value throughout the lifetime of the object, these may need to be implemented as hooked properties, which in turn may require using the read_property object handler.