class ProductionGrader implements ScoringGraderInterface (View source)

A more severe version of the StandardGrader - all the behavior is the same but warnings count for 10 and any alerts at all result in a zero-failure.

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