PHP - Manual: MongoDB\Driver\Monitoring\removeSubscriber
2024-12-22
(mongodb >=1.3.0)
MongoDB\Driver\Monitoring\removeSubscriber — Unregisters a monitoring event subscriber globally
Unregisters a monitoring event subscriber globally.
注意: 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.
没有返回值。
官方地址:https://www.php.net/manual/en/function.mongodb.driver.monitoring.removesubscriber.php