PHP - Manual: MongoDB\Driver\Manager::removeSubscriber
2024-11-14
(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.
注意: 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.
没有返回值。
官方地址:https://www.php.net/manual/en/mongodb-driver-manager.removesubscriber.php