| Total Complexity | 4 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | class StudentGrades { |
||
| 6 | private array $categories; |
||
| 7 | |||
| 8 | private array $grades; |
||
| 9 | |||
| 10 | public function addCategory(TuitionGradeCategory $category): self { |
||
| 11 | $this->categories[] = $category; |
||
| 12 | return $this; |
||
| 13 | } |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @return TuitionGradeCategory[] |
||
| 17 | */ |
||
| 18 | public function getCategories(): array { |
||
| 19 | return $this->categories; |
||
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @return TuitionGrade[] |
||
| 24 | */ |
||
| 25 | public function getGrades(): array { |
||
| 27 | } |
||
| 28 | |||
| 29 | public function addGrade(TuitionGrade $grade): void { |
||
| 31 | } |
||
| 32 | } |