Returns the hostname of the server

# MongoDB\Driver\Monitoring\ServerClosedEvent::getHost

(mongodb >=1.13.0)

MongoDB\Driver\Monitoring\ServerClosedEvent::getHost — Returns the hostname of the server

### 説明

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

### パラメータ

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

### 戻り値

Returns the hostname of the server.

### エラー / 例外

- Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors.

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open