MongoDB\Driver\Monitoring\ServerHeartbeatStartedEvent::getHost
En esta página
MongoDB\Driver\Monitoring\ServerHeartbeatStartedEvent::getHost
Devuelve el nombre del host del servidor
Descripción#
php
final public MongoDB\Driver\Monitoring\ServerHeartbeatStartedEvent::getHost(): stringphp
Parámetros#
Esta función no contiene ningún parámetro.
Valores devueltos#
Devuelve el nombre del host del servidor.
Errores/Excepciones#
Lanza una excepción
MongoDB\Driver\Exception\InvalidArgumentException
en caso de error durante el análisis de un argumento.