ContractDistributionPresenter.php 490 B

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