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