You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

LuController.php 371B

123456789101112131415161718
  1. <?php
  2. namespace Luticate\Utils;
  3. use Laravel\Lumen\Routing\Controller as BaseController;
  4. abstract class LuController extends BaseController
  5. {
  6. /**
  7. * @return LuBusiness
  8. */
  9. protected abstract function getBusiness();
  10. public function getAll($page = 0, $perPage = PHP_INT_MAX)
  11. {
  12. return self::getBusiness()->getAll($page, $perPage);
  13. }
  14. }