pixelfed/app/Transformer/Api/EmojiTransformer.php

19 lines
283 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
{
2018-12-31 04:26:37 +00:00
public function transform($emoji)
{
return [
'shortcode' => '',
'static_url' => '',
'url' => '',
'visible_in_picker' => false
];
}
2018-11-29 06:55:14 +00:00
}