MongoDB\Driver\Monitoring\ServerChangedEvent::getHost
  (mongodb >=1.13.0)
MongoDB\Driver\Monitoring\ServerChangedEvent::getHost — Returns the hostname of the server
  
 
  Description
  
   final public MongoDB\Driver\Monitoring\ServerChangedEvent::getHost(): string
  
 
  Liste de paramètres
  Cette fonction ne contient aucun paramètre.
  
 
  Valeurs de retour
  
   Returns the hostname of the server.
  
  
 
  Erreurs / Exceptions
  
   - Lance une exception MongoDB\Driver\InvalidArgumentException lors d'une erreur survenue pendant l'analyse d'un argument.