MongoDB\Client::getManager()

For the complete MongoDB documentation index, see www.mongodb.com/docs/llms.txt

MongoDB\Client::getManager()

Definition

Accessor for the MongoDB\Driver\Manager used by this [Client.](https://www.mongodb.com/docs/php-library/current/reference/class/mongodbclient.md#mongodb-phpclass-phpclass.MongoDB-Client

function getManager(): MongoDB\Manager

Return Values

A MongoDB\Driver\Manager object.

See Also

  • [MongoDB\Collection::getManager()](https://www.mongodb.com/docs/php-library/current/reference/method/mongodbcollection-getmanager.md#mongodb-phpmethod-phpmethod.MongoDB-Collection--getManager--

  • [MongoDB\Database::getManager()](https://www.mongodb.com/docs/php-library/current/reference/method/mongodbdatabase-getmanager.md#mongodb-phpmethod-phpmethod.MongoDB-Database--getManager--