PHP 8.4.1 Released!

MongoDB\Driver\Monitoring\CommandFailedEvent::getPort

(mongodb >=1.20.0)

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

Descripción

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

Parámetros

Esta función no tiene parámetros.

Valores devueltos

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

Errores/Excepciones

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top