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