class StandardGrader implements ScoringGraderInterface (View source)

Methods

int
getScoreFromResult(Result $result)

No description

getGrade(int $score = null)

Note: I'm actually kind of shocked I'm allowed to do this (override the parent methods with a semi-different signature. Let's keep an eye on whether this continues to work.)

Details

int getScoreFromResult(Result $result)

No description

Parameters

Result $result

Return Value

int

GradeInterface getGrade(int $score = null)

Note: I'm actually kind of shocked I'm allowed to do this (override the parent methods with a semi-different signature. Let's keep an eye on whether this continues to work.)

Parameters

int $score

Return Value

GradeInterface