pixelfed/app/Transformer/Api/EmojiTransformer.php

19 lines
340 B
PHP
Raw Normal View History

2018-11-29 06:55:14 +00:00
<?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
];
}
}