misc_pterodactyl-panel/app/Transformers/UserTransformer.php

22 lines
340 B
PHP
Raw Normal View History

2016-01-12 06:05:44 +00:00
<?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;
}
}