App\Transformers\Multiplayer\GameTransformer::includeBeatmap PHP Method

includeBeatmap() public method

public includeBeatmap ( Game $game )
$game App\Models\Multiplayer\Game
    public function includeBeatmap(Game $game)
    {
        if ($game->beatmap) {
            return $this->item($game->beatmap, new Transformers\BeatmapCompactTransformer());
        }
    }