PHP 8.2.0 Alpha 2 available for testing

MongoDB\Driver\Monitoring\removeSubscriber

(mongodb >=1.3.0)

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

Descrição

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.

Valor Retornado

Não há valor retornado.

Erros

add a note

User Contributed Notes

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