PHP - Manual: MongoDB\Driver\Monitoring\ServerClosedEvent::getPort
2024-11-13
(mongodb >=1.13.0)
MongoDB\Driver\Monitoring\ServerClosedEvent::getPort — Returns the port on which this server is listening
此函数没有参数。
Returns the port on which this server is listening.
官方地址:https://www.php.net/manual/en/mongodb-driver-monitoring-serverclosedevent.getport.php