(mongodb >=1.3.0)
MongoDB\Driver\Monitoring\removeSubscriber — Unregisters a monitoring event subscriber globally
$subscriber
) : voidUnregisters a monitoring event subscriber globally.
Note: If
subscriber
is not already registered globally, this function is a no-op.
subscriber
(MongoDB\Driver\Monitoring\Subscriber)A monitoring event subscriber to unregister globally.
没有返回值。