PHP - Manual: MongoDB\Driver\Monitoring\CommandSubscriber::commandSucceeded
2024-11-15
(mongodb >=1.3.0)
MongoDB\Driver\Monitoring\CommandSubscriber::commandSucceeded — Notification method for a successful command
$event
): voidIf the subscriber has been registered, the driver will call this method when a command has succeeded.
event
(MongoDB\Driver\Monitoring\CommandSucceededEvent)An event object encapsulating information about the successful command.
没有返回值。
官方地址:https://www.php.net/manual/en/mongodb-driver-monitoring-commandsubscriber.commandsucceeded.php