(mongodb >=1.3.0)
MongoDB\Driver\Monitoring\removeSubscriber — Unregisters an existing monitoring event subscriber
$subscriber
) : voidUnregisters an existing monitoring event subscriber from the driver. Unregistered subscribers will no longer be notified of monitoring events.
Note: If the object is not registered, this function is a no-op.
subscriber
(MongoDB\Driver\Monitoring\Subscriber)A monitoring event subscriber object to unregister.
没有返回值。