The MongoDB\Driver\Monitoring\ServerChangedEvent class

(mongodb >=1.13.0)

Introduction

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

Class synopsis

final class MongoDB\Driver\Monitoring\ServerChangedEvent {
/* Methods */
final public getHost(): string
final public getPort(): int
}

Table of Contents