MongoDB\Driver\Monitoring
Classes
Encapsulates information about a failed command.
Encapsulates information about a failed command.
Encapsulates information about a successful command.
Interfaces
Classes may implement this interface to register an event subscriber that is notified for each started, successful, and failed command event.
Base interface for event subscribers.
Functions
void
addSubscriber(Subscriber $subscriber)
Since: 1.3.0
Since: 1.3.0
Registers a new monitoring event subscriber with the driver.
void
removeSubscriber(Subscriber $subscriber)
Since: 1.3.0
Since: 1.3.0
Unregisters an existing monitoring event subscriber from the driver.