You are here

public function UserActivity::__construct in Visitors 8.2

Constructs a UserActivity object.

Parameters

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

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

File

src/Controller/Report/UserActivity.php, line 50
Contains Drupal\visitors\Controller\Report\UserActivity.

Class

UserActivity

Namespace

Drupal\visitors\Controller\Report

Code

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