PHP Manual
Function Reference
Database Extensions
Vendor Specific Database Extensions
MongoDB
MongoDB\Driver\Monitoring
Functions
MongoDB\Driver\Monitoring\CommandFailedEvent
MongoDB\Driver\Monitoring\CommandStartedEvent
MongoDB\Driver\Monitoring\CommandSucceededEvent
MongoDB\Driver\Monitoring\ServerChangedEvent
MongoDB\Driver\Monitoring\ServerClosedEvent
MongoDB\Driver\Monitoring\ServerOpeningEvent
MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent
MongoDB\Driver\Monitoring\ServerHeartbeatStartedEvent
MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent
MongoDB\Driver\Monitoring\TopologyChangedEvent
MongoDB\Driver\Monitoring\TopologyClosedEvent
MongoDB\Driver\Monitoring\TopologyOpeningEvent
MongoDB\Driver\Monitoring\CommandSubscriber
MongoDB\Driver\Monitoring\LogSubscriber
MongoDB\Driver\Monitoring\SDAMSubscriber
MongoDB\Driver\Monitoring\Subscriber
MongoDB\Driver\Monitoring
MongoDB\Driver\Monitoring\addSubscriber
MongoDB\Driver\Monitoring
PHP Manual
Functions
Table of Contents
MongoDB\Driver\Monitoring\addSubscriber
— Registers a monitoring event subscriber globally
MongoDB\Driver\Monitoring\removeSubscriber
— Unregisters a monitoring event subscriber globally