Files
alrahma_sunday_school/app/Interfaces/ScoreCalculatorInterface.php
T
2026-05-16 13:44:12 -04:00

18 lines
463 B
PHP
Executable File

<?php
namespace App\Interfaces;
interface ScoreCalculatorInterface
{
/**
* Calculate score for a student
*
* @param int $studentId
* @param string $semester
* @param string $schoolYear
* @return array Associative array of score data to merge
* @throws \RuntimeException If calculation fails
*/
public function calculate(int $studentId, string $semester, string $schoolYear, ?int $classSectionId = null): array;
}