PHP Conference Kansai 2025

MongoDB\Driver\Monitoring\CommandStartedEvent::getPort

(mongodb >=1.20.0)

MongoDB\Driver\Monitoring\CommandStartedEvent::getPortDevuelve el puerto del servidor para la orden

Descripción

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

Parámetros

Esta función no tiene parámetros.

Valores devueltos

Devuelve el puerto del servidor en el que se ejecutó la orden.

Errores/Excepciones

add a note

User Contributed Notes

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