MaintainPresenter.php 506 B

123456789101112131415161718192021222324
  1. <?php
  2. namespace App\Repositories\Presenters\Lab;
  3. use App\Repositories\Presenters\BasePresenter;
  4. use App\Repositories\Transformers\Lab\MaintainTransformer;
  5. /**
  6. * Class MaintainPresenter.
  7. *
  8. * @package namespace App\Repositories\Presenters\Lab;
  9. */
  10. class MaintainPresenter extends BasePresenter
  11. {
  12. /**
  13. * Transformer
  14. *
  15. * @return \League\Fractal\TransformerAbstract
  16. */
  17. public function getTransformer($type = 'lists')
  18. {
  19. return new MaintainTransformer($type);
  20. }
  21. }