forked from mirror/pixelfed
19 lines
340 B
PHP
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
|
||
|
];
|
||
|
}
|
||
|
}
|