略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: MongoDB\Driver\Manager::removeSubscriber

2025-02-27

MongoDB\Driver\Manager::removeSubscriber

(mongodb >=1.10.0)

MongoDB\Driver\Manager::removeSubscriberUnregisters a monitoring event subscriber with this Manager

说明

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

Unregisters 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

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3