PHP マニュアル
関数リファレンス
データベース関連
ベンダー固有のモジュール
MongoDB
MongoDB\Driver\Monitoring
MongoDB\Driver\Monitoring\ServerClosedEvent
MongoDB\Driver\Monitoring\ServerClosedEvent::getHost
MongoDB\Driver\Monitoring\ServerClosedEvent::getPort
MongoDB\Driver\Monitoring\ServerClosedEvent::getTopologyId
MongoDB\Driver\Monitoring\ServerClosedEvent
MongoDB\Driver\Monitoring\ServerClosedEvent::getPort
MongoDB\Driver\Monitoring\ServerClosedEvent
PHP マニュアル
MongoDB\Driver\Monitoring\ServerClosedEvent::getHost
Returns the hostname of the server
説明
final
public
string
MongoDB\Driver\Monitoring\ServerClosedEvent::getHost
()
パラメータ
この関数にはパラメータはありません。
戻り値
Returns the hostname of the server.
エラー / 例外
Throws
MongoDB\Driver\Exception\InvalidArgumentException
on argument parsing errors.