pixelfed/app/Transformer/Api/ApplicationTransformer.php

17 wiersze
251 B
PHP

<?php
namespace App\Transformer\Api;
use League\Fractal;
class ApplicationTransformer extends Fractal\TransformerAbstract
{
public function transform()
{
return [
'name' => '',
'website' => null,
];
}
}