forked from mirror/pixelfed
Add Emoji Api Transformer
This commit is contained in:
parent
fec9741086
commit
0a9ffe80b3
|
@ -0,0 +1,18 @@
|
|||
<?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
|
||||
];
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue