You are here

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

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

Constructs a new LearningPathProgress object.

Parameters

Drupal\opigno_learning_path\Progres $progress_service: The progress bar service.

File

src/Controller/LearningPathProgress.php, line 31

Class

LearningPathProgress
Returns responses for ajax progress bar routes.

Namespace

Drupal\opigno_learning_path\Controller

Code

public function __construct(Progress $progress_service) {
  $this->progressService = $progress_service;
}