MongoDB\Driver\ServerDescription::getPort
PHP Manual
PHP Manual»MongoDB\Driver\ServerDescription»MongoDB\Driver\ServerDescription::getPort

MongoDB\Driver\ServerDescription::getPort

(mongodb >=1.13.0)

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

Açıklama

final public function MongoDB\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