MongoDB\Driver\Monitoring\CommandFailedEvent::getPort
PHP Manual
PHP Manual»MongoDB\Driver\Monitoring\CommandFailedEvent»MongoDB\Driver\Monitoring\CommandFailedEvent::getPort

MongoDB\Driver\Monitoring\CommandFailedEvent::getPort

(mongodb >=1.20.0)

MongoDB\Driver\Monitoring\CommandFailedEvent::getPortReturns the server port for the command

Опис

final public function MongoDB\Driver\Monitoring\CommandFailedEvent::getPort(): int

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

Returns the port of the server on which the command was executed.

Помилки/виключення

To Top