pixelfed/app/Transformer/Api/EmojiTransformer.php
2018-12-30 21:26:37 -07:00

18 lines
283 B
PHP

<?php
namespace App\Transformer\Api;
use League\Fractal;
class EmojiTransformer extends Fractal\TransformerAbstract
{
public function transform($emoji)
{
return [
'shortcode' => '',
'static_url' => '',
'url' => '',
'visible_in_picker' => false
];
}
}