misc_pterodactyl-panel/app/Transformers/UserTransformer.php
2016-01-12 01:05:44 -05:00

21 lines
340 B
PHP

<?php
namespace Pterodactyl\Transformers;
use Pterodactyl\Models\User;
use League\Fractal\TransformerAbstract;
class UserTransformer extends TransformerAbstract
{
/**
* Turn this item object into a generic array
*
* @return array
*/
public function transform(User $user)
{
return $user;
}
}