PHP 8.4.1 Released!

MongoDB\Driver\Monitoring\removeSubscriber

(mongodb >=1.3.0)

MongoDB\Driver\Monitoring\removeSubscriberUnregisters a monitoring event subscriber globally

Descripción

MongoDB\Driver\Monitoring\removeSubscriber(MongoDB\Driver\Monitoring\Subscriber $subscriber): void

Unregisters a monitoring event subscriber globally.

Nota: If subscriber is not already registered globally, this function is a no-op.

Parámetros

subscriber (MongoDB\Driver\Monitoring\Subscriber)

A monitoring event subscriber to unregister globally.

Valores devueltos

No devuelve ningún valor.

Errores/Excepciones

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top