Total Complexity | 9 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
9 | class ExerciseQuestionAnsweredEvent extends AbstractEvent |
||
10 | { |
||
11 | public function getTrackingExeId(): ?int |
||
14 | } |
||
15 | |||
16 | public function getExerciseId(): ?int |
||
17 | { |
||
18 | if (!empty($this->data['exercise']['id'])) { |
||
19 | return $this->data['exercise']['id']; |
||
20 | } |
||
21 | |||
22 | return null; |
||
23 | } |
||
24 | |||
25 | public function getExerciseTitle(): ?string |
||
32 | } |
||
33 | |||
34 | public function getQuestionId(): ?int |
||
41 | } |
||
42 | |||
43 | public function getQuestionWeigth(): ?float |
||
52 |