The MongoDB\Driver\Monitoring\CommandStartedEvent class

Introduction

The MongoDB\Driver\Monitoring\CommandStartedEvent class encapsulates information about a started command.

Class synopsis

MongoDB\Driver\Monitoring\CommandStartedEvent
final class MongoDB\Driver\Monitoring\CommandStartedEvent {
/* Methods */
final public object getCommand()
final public string getCommandName()
final public string getDatabaseName()
final public string getHost()
final public string getOperationId()
final public int getPort()
final public string getRequestId()
final public MongoDB\Driver\Server getServer()
final public intnull getServerConnectionId()
final public MongoDB\BSON\ObjectIdnull getServiceId()
}
Table of Contents