* * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace App\Repositories\Presenters; use App\Repositories\Transformers\UserTransformer; class UserPresenter extends Presenter { /** * Prepare data to present. * * @return \League\Fractal\TransformerAbstract */ public function getTransformer() { return new UserTransformer(); } }