(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.
Nota: 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.
No devuelve ningún valor.