1 | <?php |
||
12 | class EquitableScoreControl |
||
13 | { |
||
14 | private $escResultArray; |
||
15 | |||
16 | /** |
||
17 | * |
||
18 | * @param array $holeScores |
||
19 | * @param $courseHandicap |
||
20 | * @return array |
||
21 | */ |
||
22 | 1 | public function adjustScores(array $holeScores, $courseHandicap) |
|
36 | |||
37 | // Using a players course handicap which is a whole number |
||
38 | /** |
||
39 | * @param $par |
||
40 | * @param $courseHandicap |
||
41 | * @return int |
||
42 | */ |
||
43 | 2 | public function getMaxAllowableHoleScore($par, $courseHandicap) |
|
65 | } |
||
66 |