Working on League Matchings (Qualification)

This commit is contained in:
Torsten 2017-09-18 08:28:42 +02:00
parent 82e60df35f
commit 9c0f94758d
4 changed files with 8552 additions and 9 deletions

View file

@ -24,4 +24,9 @@ class League extends Model
}
return $neededLeagues;
}
public static function getMemberCount($league_id) {
$members = DB::table('leagues_matches')->where('league_id','=',$league_id)->get();
return sizeof($members);
}
}