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