array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'es', ), 'this' => array ( 0 => 'class.mongodb-driver-monitoring-commandsubscriber.php', 1 => 'MongoDB\\Driver\\Monitoring\\CommandSubscriber', ), 'up' => array ( 0 => 'mongodb.monitoring.php', 1 => 'MongoDB\\Driver\\Monitoring', ), 'prev' => array ( 0 => 'mongodb-driver-monitoring-topologyopeningevent.gettopologyid.php', 1 => 'MongoDB\\Driver\\Monitoring\\TopologyOpeningEvent::getTopologyId', ), 'next' => array ( 0 => 'mongodb-driver-monitoring-commandsubscriber.commandfailed.php', 1 => 'MongoDB\\Driver\\Monitoring\\CommandSubscriber::commandFailed', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/mongodb/mongodb/driver/monitoring/commandsubscriber.xml', ), 'extra_header_links' => array ( 'rel' => 'alternate', 'href' => '/manual/en/feeds/class.mongodb-driver-monitoring-commandsubscriber.atom', 'type' => 'application/atom+xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(mongodb >=1.3.0)
Classes may implement this interface to register an event subscriber that is notified for each started, successful, and failed command event. See Application Performance Monitoring (APM) for additional information.
Versión | Descripción |
---|---|
PECL mongodb 1.15.0 |
Return types for methods are declared as tentative on PHP 8.0 and newer,
triggering deprecation notices in code that implements this interface
without declaring the appropriate return types. The #[ReturnTypeWillChange]
attribute can be added to silence the deprecation notice.
|