MemberBothPresenter.php 450 B

123456789101112131415161718192021222324
  1. <?php
  2. namespace App\Presenters;
  3. use App\Transformers\MemberBothTransformer;
  4. use Prettus\Repository\Presenter\FractalPresenter;
  5. /**
  6. * Class MemberBothPresenter.
  7. *
  8. * @package namespace App\Presenters;
  9. */
  10. class MemberBothPresenter extends FractalPresenter
  11. {
  12. /**
  13. * Transformer
  14. *
  15. * @return \League\Fractal\TransformerAbstract
  16. */
  17. public function getTransformer()
  18. {
  19. return new MemberBothTransformer();
  20. }
  21. }