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

finalclassMongoDB\Driver\Monitoring\ServerChangedEvent {
finalpublicgetHost(): string
finalpublicgetPort(): int
}

Table of Contents

To Top