You are here

public function UserController::__construct in Opigno statistics 3.x

Same name and namespace in other branches
  1. 8 src/Controller/UserController.php \Drupal\opigno_statistics\Controller\UserController::__construct()

UserController constructor.

File

src/Controller/UserController.php, line 84

Class

UserController
Statistics user controller.

Namespace

Drupal\opigno_statistics\Controller

Code

public function __construct(Connection $database, UserStatisticsManager $stats_manager, UserAccessManager $user_access_manager, DateFormatterInterface $date_formatter, AccountInterface $account, UserConnectionManager $connection_manager) {
  $this->database = $database;
  $this->statsManager = $stats_manager;
  $this->userAccessManager = $user_access_manager;
  $this->dateFormatter = $date_formatter;
  $this->account = $account;
  $this->connectionsManager = $connection_manager;
}