mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-14 18:44:31 +00:00
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' => []
|
||
|
];
|
||
|
}
|
||
|
}
|