PHP 8.4.2 Released!

MongoDB\Driver\Monitoring\ServerClosedEvent::getHost

(mongodb >=1.13.0)

MongoDB\Driver\Monitoring\ServerClosedEvent::getHostReturns the hostname of the server

説明

final public MongoDB\Driver\Monitoring\ServerClosedEvent::getHost(): string

パラメータ

この関数にはパラメータはありません。

戻り値

Returns the hostname of the server.

エラー / 例外

add a note

User Contributed Notes

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