(mongodb >=1.3.0)

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


void MongoDB\Driver\Monitoring\addSubscriber ( MongoDB\Driver\Monitoring\Subscriber $subscriber )

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.

Возвращаемые значения

Эта функция не возвращает значения после выполнения.