1 | <?php |
||
9 | class PlayOffCompetitorTreeGen extends PlayOffTreeGen |
||
10 | { |
||
11 | /** |
||
12 | * get Fighter by Id. |
||
13 | * |
||
14 | * @param $competitorId |
||
15 | * |
||
16 | * @return Competitor |
||
17 | */ |
||
18 | protected function getFighter($competitorId) |
||
22 | |||
23 | /** |
||
24 | * Fighter is the name for competitor or team, depending on the case. |
||
25 | * |
||
26 | * @return Collection |
||
27 | */ |
||
28 | protected function getFighters() |
||
32 | |||
33 | /** |
||
34 | * @param FightersGroup $group |
||
35 | * @param $fighters |
||
36 | * |
||
37 | * @return FightersGroup |
||
38 | */ |
||
39 | public function syncGroup(FightersGroup $group, $fighters) |
||
44 | |||
45 | protected function createByeFighter() |
||
49 | |||
50 | protected function addFighterToGroup(FightersGroup $group, $competitor) |
||
54 | |||
55 | protected function generateGroupsForRound(Collection $usersByArea, $round) |
||
61 | } |
||
62 |