You are here

public function Countries::__construct in Visitors 8.2

Constructs a Countries object.

Parameters

\Drupal\Core\Datetime\DateFormatterInterface $date: The date service.

\Drupal\Core\Form\FormBuilderInterface $form_builder: The form builder service.

File

src/Controller/Report/Countries.php, line 52
Contains Drupal\visitors\Controller\Report\Countries.

Class

Countries

Namespace

Drupal\visitors\Controller\Report

Code

public function __construct(DateFormatterInterface $date_formatter, FormBuilderInterface $form_builder) {
  $this->date = $date_formatter;
  $this->formBuilder = $form_builder;
}