MoneyDetailPresenter.php 454 B

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