12345678910111213141516171819202122232425 |
- <?php
- namespace App\Repositories\Presenters\News;
- use App\Repositories\Presenters\BasePresenter;
- use App\Repositories\Transformers\News\NoticeTransformer;
- use Prettus\Repository\Presenter\FractalPresenter;
- class NoticePresenter extends BasePresenter
- {
-
- public function getTransformer($type = 'lists')
- {
- return new NoticeTransformer($type);
- }
- }
|