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