The MongoDB\Driver\Monitoring\CommandStartedEvent class

(mongodb >=1.3.0)

Introduction

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

Class synopsis

final class MongoDB\Driver\Monitoring\CommandStartedEvent {
/* Methods */
final public getCommand(): object
final public getCommandName(): string
final public getDatabaseName(): string
final public getOperationId(): string
final public getRequestId(): string
}

Table of Contents