MongoDB\Driver\Monitoring\CommandSucceededEvent::getPort
Returns the server port for the command
説明
final public int MongoDB\Driver\Monitoring\CommandSucceededEvent::getPort()
戻り値
Returns the port of the server on which the command was executed.
エラー / 例外
- Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors.