|
MongoDB\Driver\Server::getPortReturns the port on which this server is listening 説明
final public int MongoDB\Driver\Server::getPort()
Returns the port on which this server is listening. パラメータこの関数にはパラメータはありません。 戻り値Returns the port on which this server is listening. エラー / 例外
例例1 MongoDB\Driver\Server::getPort example
<?php 上の例の出力は以下となります。 int(27017) 参考
|