App\Transformers\BeatmapPlaycountTransformer::includeBeatmap PHP Method

includeBeatmap() public method

public includeBeatmap ( BeatmapPlaycount $playcount )
$playcount app\models\BeatmapPlaycount
    public function includeBeatmap(BeatmapPlaycount $playcount)
    {
        if ($playcount->beatmap === null) {
            return;
        }
        return $this->item($playcount->beatmap, new BeatmapTransformer());
    }