php8.5
Home/ Manual/ driver / monitoring/ The MongoDB\Driver\Monitoring\CommandSubscriber interface

The MongoDB\Driver\Monitoring\CommandSubscriber interface

Classes may implement this interface to register an event subscriber that is notified for each started, successful, and failed command event. See for additional information.

Intro

Classes may implement this interface to register an event subscriber that is notified for each started, successful, and failed command event. See mongodb.tutorial.apm for additional information.

Interfacesynopsis

class MongoDB\Driver\Monitoring\CommandSubscriber { }

Changelog

VersionDescription

Commandsubscriber

In this section

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