php8.5
Home/ Manual/ driver / server/ MongoDB\Driver\Server::__construct

MongoDB\Driver\Server::__construct

PHP function Edit on GitHub ✎

(mongodb >=1.0.0)

Create a new Server (not used)

Description

MongoDB\Driver\Server::__construct()

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().

Parameters Parameters

See Also

Source: reference/mongodb/mongodb/driver/server/construct.xml · from the official PHP manual (php/doc-en)