MongoDB\Driver\ServerDescription::getHost

(mongodb >=1.13.0)

MongoDB\Driver\ServerDescription::getHost — Returns the hostname of this server

Опис

final public function MongoDB\Driver\ServerDescription::getHost(): string

Returns the hostname of this server.

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

Returns the hostname of this server.

Помилки/виключення

Прогляньте також

+add a note

User Contributed Notes

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