mirror of https://github.com/pixelfed/pixelfed.git
17 lines
221 B
PHP
17 lines
221 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Transformer\Api;
|
||
|
|
||
|
use League\Fractal;
|
||
|
|
||
|
class ContextTransformer extends Fractal\TransformerAbstract
|
||
|
{
|
||
|
public function transform()
|
||
|
{
|
||
|
return [
|
||
|
'ancestors' => [],
|
||
|
'descendants' => []
|
||
|
];
|
||
|
}
|
||
|
}
|