You are here

public function LearningPathAchievementController::__construct in Opigno Learning path 8

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

File

src/Controller/LearningPathAchievementController.php, line 47

Class

LearningPathAchievementController
Class LearningPathAchievementController.

Namespace

Drupal\opigno_learning_path\Controller

Code

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