MongoDB\Driver\ServerDescription::getHost
PHP Manual
PHP Manual»MongoDB\Driver\ServerDescription»MongoDB\Driver\ServerDescription::getHost

MongoDB\Driver\ServerDescription::getHost

(mongodb >=1.13.0)

MongoDB\Driver\ServerDescription::getHostReturns 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.

エラー / 例外

参考

To Top