pixelfed/app/Transformer/Api/EmojiTransformer.php
2018-11-28 23:55:14 -07:00

19 lines
340 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
];
}
}