The MongoDB\Driver\Monitoring\ServerOpeningEvent class

(mongodb >=1.13.0)

Introduction

The MongoDB\Driver\Monitoring\ServerOpeningEvent class encapsulates information about an opened server.

Class synopsis

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

Table of Contents

To Top