1
0
Fork 0
forked from mirror/pixelfed
pixelfed/app/Transformer/Api/ResultsTransformer.php
2018-12-30 21:26:37 -07:00

24 lines
335 B
PHP

<?php
namespace App\Transformer\Api;
use League\Fractal;
class ResultsTransformer extends Fractal\TransformerAbstract
{
protected $defaultIncludes = [
'account',
'mentions',
'media_attachments',
'tags',
];
public function transform()
{
return [
'accounts' => [],
'statuses' => [],
'hashtags' => []
];
}
}