1
0
Fork 0

Add Emoji Api Transformer

This commit is contained in:
Daniel Supernault 2018-11-28 23:55:14 -07:00
parent fec9741086
commit 0a9ffe80b3
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 18 additions and 0 deletions

View File

@ -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
];
}
}