PHP Conference China 2020

MongoDB\Driver\Monitoring\removeSubscriber

(mongodb >=1.3.0)

MongoDB\Driver\Monitoring\removeSubscriberUnregisters an existing monitoring event subscriber

Beschreibung

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

Unregisters an existing monitoring event subscriber from the driver. Unregistered subscribers will no longer be notified of monitoring events.

Hinweis: If the object is not registered, this function is a no-op.

Parameter-Liste

subscriber (MongoDB\Driver\Monitoring\Subscriber)

A monitoring event subscriber object to unregister.

R├╝ckgabewerte

Es wird kein Wert zur├╝ckgegeben.

Fehler/Exceptions

  • Throws MongoDB\Driver\InvalidArgumentException on argument parsing errors.
add a note add a note

User Contributed Notes

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