Php/docs/function.mongodb.driver.monitoring.removesubscriber

提供:Dev Guides
< Php
2020年12月14日 (月) 11:21時点におけるNotes (トーク | 投稿記録)による版 (autoload)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先:案内検索

MongoDB\Driver\Monitoring\removeSubscriber

(mongodb >=1.3.0)

MongoDB\Driver\Monitoring\removeSubscriberUnregisters an existing monitoring event subscriber


説明

MongoDB\Driver\Monitoring\removeSubscriber ( MongoDB\Driver\Monitoring\Subscriber $subscriber ) : void

Unregisters an existing monitoring event subscriber from the driver. Unregistered subscribers will no longer be notified of monitoring events.

注意:

If the object is not registered, this function is a no-op.

パラメータ

subscriber (MongoDB\Driver\Monitoring\Subscriber)
A monitoring event subscriber object to unregister.


返り値

値を返しません。


エラー / 例外