mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-23 23:11:27 +00:00
24 lines
335 B
PHP
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' => []
|
|
];
|
|
}
|
|
}
|