array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ja', ), 'this' => array ( 0 => 'mongodb-driver-monitoring-commandsubscriber.commandfailed.php', 1 => 'MongoDB\\Driver\\Monitoring\\CommandSubscriber::commandFailed', ), 'up' => array ( 0 => 'class.mongodb-driver-monitoring-commandsubscriber.php', 1 => 'MongoDB\\Driver\\Monitoring\\CommandSubscriber', ), 'prev' => array ( 0 => 'class.mongodb-driver-monitoring-commandsubscriber.php', 1 => 'MongoDB\\Driver\\Monitoring\\CommandSubscriber', ), 'next' => array ( 0 => 'mongodb-driver-monitoring-commandsubscriber.commandstarted.php', 1 => 'MongoDB\\Driver\\Monitoring\\CommandSubscriber::commandStarted', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/mongodb/mongodb/driver/monitoring/commandsubscriber/commandfailed.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(mongodb >=1.3.0)
MongoDB\Driver\Monitoring\CommandSubscriber::commandFailed — Notification method for a failed command
$event
): voidIf the subscriber has been registered, the driver will call this method when a command has failed.
event
(MongoDB\Driver\Monitoring\CommandFailedEvent)An event object encapsulating information about the failed command.
値を返しません。