1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2025-01-22 23:09:41 +00:00
pixelfed/app/Transformer/Api/ResultsTransformer.php

25 lines
335 B
PHP
Raw Normal View History

2018-12-31 04:26:37 +00:00
<?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' => []
];
}
}