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 MongoDB\Driver\Monitoring\CommandStartedEvent {
/* Methods */
final public getCommand ( void ) : object
final public getCommandName ( void ) : string
final public getDatabaseName ( void ) : string
final public getOperationId ( void ) : string
final public getRequestId ( void ) : string
final public getServer ( void ) : MongoDB\Driver\Server
}

Table of Contents