You are here

public function QuizSession::__construct in Quiz 6.x

Constructs a new QuizSession object.

Parameters

SessionInterface $session: The session.

File

src/Services/QuizSession.php, line 27

Class

QuizSession
Default implementation of the quiz session.

Namespace

Drupal\quiz\Services

Code

public function __construct(SessionInterface $session) {
  $this->session = $session;
}