PHP - Manual: MongoDB\Driver\Monitoring\ServerChangedEvent::getPort
2024-11-15
(mongodb >=1.13.0)
MongoDB\Driver\Monitoring\ServerChangedEvent::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-serverchangedevent.getport.php