The MongoDB\Driver\Monitoring\Subscriber interface

Introduction

Base interface for event subscribers. This is used as a parameter type in the functions MongoDB\Driver\Monitoring\addSubscriber and MongoDB\Driver\Monitoring\removeSubscriber and should not be implemented directly.

Interface synopsis

MongoDB\Driver\Monitoring\Subscriber
class MongoDB\Driver\Monitoring\Subscriber {
}

This interface has no methods. Its only purpose is to be the base interface for all event subscribers.