MongoDB\Driver\Monitoring\ServerChangedEvent::getHost
MongoDB\Driver\Monitoring\ServerChangedEvent::getHost — Returns the hostname of the server
Description
final public MongoDB\Driver\Monitoring\ServerChangedEvent::getHost(): string
Parameters
This function has no parameters.
Return Values
Returns the hostname of the server.