public function MetricService::__construct in Drupalmonitor 8
Constructs a new MetricService object.
File
- src/
MetricService.php, line 33
Class
- MetricService
- Class MetricService.
Namespace
Drupal\drupalmonitorCode
public function __construct(Connection $database, ModuleHandlerInterface $module_handler) {
$this->database = $database;
$this->moduleHandler = $module_handler;
}