| 1 | <?php |
||
| 12 | class Handicap |
||
| 13 | { |
||
| 14 | private $roundsEnteredArray; |
||
| 15 | private $scores; |
||
| 16 | private $numberOfScores; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Handicap constructor. |
||
| 20 | * @param array $scores |
||
| 21 | */ |
||
| 22 | 3 | public function __construct(array $scores) |
|
| 28 | |||
| 29 | /** |
||
| 30 | * @return array |
||
| 31 | */ |
||
| 32 | 1 | public function getScores() |
|
| 36 | |||
| 37 | /** |
||
| 38 | * @return mixed |
||
| 39 | */ |
||
| 40 | 1 | public function getDifferential() |
|
| 44 | |||
| 45 | /** |
||
| 46 | * @return float |
||
| 47 | */ |
||
| 48 | 1 | public function get() |
|
| 52 | } |
||
| 53 |