You are here

public function DrupalMonitorController::__construct in Drupalmonitor 8

DrupalmonitorController constructor.

Parameters

\Drupal\drupalmonitor\Settings $drupal_monitor_settings: Drupal Monitor Settings.

\Drupal\drupalmonitor\MetricService $metric_service: Metric Service.

File

src/Controller/DrupalMonitorController.php, line 42

Class

DrupalMonitorController
Class DrupalmonitorController.

Namespace

Drupal\drupalmonitor\Controller

Code

public function __construct(Settings $drupal_monitor_settings, MetricService $metric_service) {
  $this->drupalMonitorSettings = $drupal_monitor_settings;
  $this->metricService = $metric_service;
}