php8.5
Home/ Manual/ driver / monitoring/ The MongoDB\Driver\Monitoring\TopologyOpeningEvent class

The MongoDB\Driver\Monitoring\TopologyOpeningEvent class

The MongoDB\Driver\Monitoring\TopologyOpeningEvent class encapsulates information about an opened topology.

Intro

The MongoDB\Driver\Monitoring\TopologyOpeningEvent class encapsulates information about an opened topology.

Note

Due to the driver's connection handling and persistence behavior, this event may not be observed if a MongoDB\Driver\Manager uses a previously persisted libmongoc client.

Class synopsis

class MongoDB\Driver\Monitoring\TopologyOpeningEvent { }

Properties

topologyId

The topology ID.

Changelog

VersionDescription
PECL mongodb 2.3.0Added public readonly properties.

Topologyopeningevent

In this section

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