mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-14 02:24:31 +00:00
19 lines
283 B
PHP
19 lines
283 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
|
|
];
|
|
}
|
|
}
|