PHP 8.0.26 Released!

The MongoDB\Driver\Monitoring\ServerHeartbeatStartedEvent class

(mongodb >=1.13.0)

Introduction

The MongoDB\Driver\Monitoring\ServerHeartbeatStartedEvent class encapsulates information about a started server heartbeat.

Class synopsis

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

Table of Contents

add a note

User Contributed Notes

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