Docs Menu

MongoDB\Collection::getManager()

MongoDB\Collection::getManager()

Accessor for the MongoDB\Driver\Manager used by this Collection.

function getManager(): MongoDB\Manager

A MongoDB\Driver\Manager object.