PHP 8.4.1 Released!

The MongoDB\Driver\Monitoring\ServerOpeningEvent class

(mongodb >=1.13.0)

Introduction

The MongoDB\Driver\Monitoring\ServerOpeningEvent class encapsulates information about an opened server. This corresponds to a new server being added to the topology.

Class synopsis

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

Table of Contents

add a note

User Contributed Notes

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