...
This commit is contained in:
parent
ed0c445bfa
commit
30f6157606
15 changed files with 248 additions and 169 deletions
|
|
@ -23,7 +23,11 @@ class Match extends Model
|
|||
|
||||
// https://en.wikipedia.org/wiki/Round-robin_tournament
|
||||
public static function createMatchups()
|
||||
{ Log::info("Match::Creating matchups()");
|
||||
|
||||
{ // should be restricted to league ranks 1,2,3 and 4. All other leagues will have to use some
|
||||
// incremental matchmaking system.
|
||||
|
||||
Log::info("Match::Creating matchups()");
|
||||
$currentSeason = Season::getCurrent();
|
||||
$leagues = League::where('season_id', '=', $currentSeason->id)->get();
|
||||
foreach ($leagues as $league) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue