| Total Complexity | 6 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class ExamDateGroup implements GroupInterface, SortableGroupInterface { |
||
| 9 | /** |
||
| 10 | * @var Exam[] |
||
| 11 | */ |
||
| 12 | private ?array $exams = null; |
||
| 13 | |||
| 14 | public function __construct(private DateTime $date) |
||
| 16 | } |
||
| 17 | |||
| 18 | public function getDate(): DateTime { |
||
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @return Exam[] |
||
| 24 | */ |
||
| 25 | public function getExams() { |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @return DateTime |
||
| 31 | */ |
||
| 32 | public function getKey() { |
||
| 33 | return $this->date; |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @param Exam $item |
||
| 38 | */ |
||
| 39 | public function addItem($item) { |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @return Exam[] |
||
| 45 | */ |
||
| 46 | public function &getItems(): array { |
||
| 48 | } |
||
| 49 | } |