ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
AttemptSolutions.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24{
28 public function __construct(
29 private readonly int $active_id,
30 private readonly int $attempt_id,
31 private readonly array $question_results
32 ) {
33 }
34
35 public function getActiveId(): int
36 {
37 return $this->active_id;
38 }
39
40 public function getAttempt(): int
41 {
42 return $this->attempt_id;
43 }
44
48 public function getQuestionResults(): array
49 {
50 return $this->question_results;
51 }
52}
__construct(private readonly int $active_id, private readonly int $attempt_id, private readonly array $question_results)