MongoDB\Driver\Monitoring\CommandSubscriber::commandSucceeded

(mongodb >=1.3.0)

MongoDB\Driver\Monitoring\CommandSubscriber::commandSucceeded — MĂ©thode de notification pour une commande rĂ©ussie

Description

abstract public function MongoDB\Driver\Monitoring\CommandSubscriber::commandSucceeded(MongoDB\Driver\Monitoring\CommandSucceededEvent $event): void

Si l'observateur est enregistré, cette méthode est appelée lorsqu'une commande réussit.

Liste de paramĂštres

event (MongoDB\Driver\Monitoring\CommandSucceededEvent)
Un objet d'événement encapsulant des informations sur la commande réussie.

Valeurs de retour

Aucune valeur n'est retournée.

Erreurs / Exceptions

  • Lance une exception MongoDB\Driver\InvalidArgumentException lors d'une erreur survenue pendant l'analyse d'un argument.

Voir aussi

add a note

User Contributed Notes

There are no user contributed notes for this page.