PHP - Manual: MongoDB\Driver\Monitoring\ServerChangedEvent::getHost
2024-12-22
(mongodb >=1.13.0)
MongoDB\Driver\Monitoring\ServerChangedEvent::getHost — Returns the hostname of the server
此函数没有参数。
Returns the hostname of the server.
官方地址:https://www.php.net/manual/en/mongodb-driver-monitoring-serverchangedevent.gethost.php