1
0
Fork 0
forked from mirror/pixelfed
pixelfed/app/Transformer/Api/RelationshipTransformer.php

26 lines
585 B
PHP
Raw Normal View History

2018-11-19 04:53:05 +00:00
<?php
namespace App\Transformer\Api;
use App\Profile;
use League\Fractal;
class RelationshipTransformer extends Fractal\TransformerAbstract
{
public function transform(Profile $profile)
{
return [
'id' => $profile->id,
'following' => null,
'followed_by' => null,
'blocking' => null,
'muting' => null,
'muting_notifications' => null,
'requested' => null,
'domain_blocking' => null,
'showing_reblogs' => null,
'endorsed' => null
];
}
}