PHP Class App\Transformers\BeatmapDiscussionTransformer

Inheritance: extends League\Fractal\TransformerAbstract
Show file Open project: ppy/osu-web

Protected Properties

Property Type Description
$availableIncludes

Public Methods

Method Description
includeBeatmapDiscussionPosts ( BeatmapDiscussion $discussion )
includeCurrentUserAttributes ( BeatmapDiscussion $discussion )
transform ( BeatmapDiscussion $discussion )

Method Details

includeBeatmapDiscussionPosts() public method

public includeBeatmapDiscussionPosts ( BeatmapDiscussion $discussion )
$discussion app\models\BeatmapDiscussion

includeCurrentUserAttributes() public method

public includeCurrentUserAttributes ( BeatmapDiscussion $discussion )
$discussion app\models\BeatmapDiscussion

transform() public method

public transform ( BeatmapDiscussion $discussion )
$discussion app\models\BeatmapDiscussion

Property Details

$availableIncludes protected property

protected $availableIncludes