public includeScoresBest ( |
||
$beatmap |
public function includeScoresBest(Beatmap $beatmap)
{
$scores = $beatmap->scoresBest()->defaultListing()->limit(config('osu.beatmaps.max-scores'))->get();
return $this->collection($scores, new ScoreTransformer());
}