PHP - Manual: MongoDB\Driver\Server::__construct
2024-11-14
(mongodb >=1.0.0)
MongoDB\Driver\Server::__construct — Create a new Server (not used)
MongoDB\Driver\Server objects are created internally by MongoDB\Driver\Manager when a database connection is established and may be returned by MongoDB\Driver\Manager::getServers() and MongoDB\Driver\Manager::selectServer().
此函数没有参数。
官方地址:https://www.php.net/manual/en/mongodb-driver-server.construct.php