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