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

Voir aussi