ILIAS  trunk Revision v11.0_alpha-1723-g8e69f309bab
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
PropertySequence.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
23 class PropertySequence implements Property
24 {
25  public function __construct(
26  private readonly int $question_id,
27  private readonly int $test_id,
28  private readonly int $place_in_sequence
29  ) {
30  }
31 
32  public function getQuestionId(): int
33  {
34  return $this->question_id;
35  }
36 
37  public function getTestId(): int
38  {
39  return $this->test_id;
40  }
41 
42  public function getPlaceInSequence(): int
43  {
44  return $this->place_in_sequence;
45  }
46 
47 
48 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(private readonly int $question_id, private readonly int $test_id, private readonly int $place_in_sequence)