You are here

public function LearningPathAchievementController::__construct in Opigno Learning path 3.x

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

File

src/Controller/LearningPathAchievementController.php, line 57

Class

LearningPathAchievementController
Class LearningPathAchievementController.

Namespace

Drupal\opigno_learning_path\Controller

Code

public function __construct(Connection $database, Progress $progress, DateFormatterInterface $date_formatter) {
  $this->database = $database;
  $this->progress = $progress;
  $this->dateFormatter = $date_formatter;
}