* * 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\PostTransformer; class PostPresenter extends Presenter { /** * Prepare data to present. * * @return \League\Fractal\TransformerAbstract */ public function getTransformer() { return new PostTransformer(); } }