PHP 8.4.1 Released!

The MongoDB\Driver\Monitoring\ServerChangedEvent class

(mongodb >=1.13.0)

Вступ

The MongoDB\Driver\Monitoring\ServerChangedEvent class encapsulates information about a changed server description. For example, a server's type changing from secondary to primary would cause its server description to change.

Короткий огляд класу

final class MongoDB\Driver\Monitoring\ServerChangedEvent {
/* Методи */
final public getHost(): string
final public getPort(): int
}

Зміст

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top