public function Logger::templatesCount in MongoDB 8.2
Return the number of event templates.
Throws
\ReflectionException
File
- modules/
mongodb_watchdog/ src/ Logger.php, line 727
Class
- Logger
- Class Logger is a PSR/3 Logger using a MongoDB data store.
Namespace
Drupal\mongodb_watchdogCode
public function templatesCount() : int {
return $this
->templateCollection()
->countDocuments();
}