(mongodb >=1.3.0)
MongoDB\Driver\Monitoring\CommandSubscriber::commandStarted — Notification method for a started command
$event
) : voidIf the subscriber has been registered with MongoDB\Driver\Monitoring\addSubscriber(), the driver will call this method when a command has started.
event
(MongoDB\Driver\Monitoring\CommandStartedEvent)An event object encapsulating information about the started command.
没有返回值。