PHP - Manual: MongoDB\Driver\Monitoring\SDAMSubscriber::topologyOpening
2024-11-12
(mongodb >=1.13.0)
MongoDB\Driver\Monitoring\SDAMSubscriber::topologyOpening — Notification method for opening the topology
$event
): voidIf the subscriber has been registered, the driver will call this method when the topology is opened.
event
(MongoDB\Driver\Monitoring\TopologyOpeningEvent)An event object encapsulating information about the opened topology.
没有返回值。
官方地址:https://www.php.net/manual/en/mongodb-driver-monitoring-sdamsubscriber.topologyopening.php