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

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

Table of Contents