MongoDB\Driver\ServerDescription::getPort

(mongodb >=1.13.0)

MongoDB\Driver\ServerDescription::getPortReturns the port on which this server is listening

Açıklama

finalpublicMongoDB\Driver\ServerDescription::getPort(): int

Returns the port on which this server is listening.

Bağımsız Değişkenler

Bu işlevin bağımsız değişkeni yoktur.

Dönen Değerler

Returns the port on which this server is listening.

Hatalar/İstisnalar

Ayrıca Bakınız

To Top