略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: MongoDB\Driver\Monitoring\ServerChangedEvent

2024-12-22

The MongoDB\Driver\Monitoring\ServerChangedEvent class

(mongodb >=1.13.0)

简介

The MongoDB\Driver\Monitoring\ServerChangedEvent class encapsulates information about a changed server description.

类摘要

final class MongoDB\Driver\Monitoring\ServerChangedEvent {
/* 方法 */
final public getHost(): string
final public getNewDescription(): MongoDB\Driver\ServerDescription
final public getPort(): int
final public getPreviousDescription(): MongoDB\Driver\ServerDescription
}

目录

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/class.mongodb-driver-monitoring-serverchangedevent.php

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