PHP - Manual: MongoDB\Driver\Session::__construct
2025-02-27
(mongodb >=1.4.0)
MongoDB\Driver\Session::__construct — Create a new Session (not used)
MongoDB\Driver\Session objects are returned by MongoDB\Driver\Manager::startSession() and cannot be constructed directly.
此函数没有参数。
官方地址:https://www.php.net/manual/en/mongodb-driver-session.construct.php