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.

StopsController.php 543B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: robin
  5. * Date: 9/30/16
  6. * Time: 8:59 PM
  7. */
  8. namespace App\Controller;
  9. use App\Business\StopsBusiness;
  10. use Luticate\Utils\Controller\LuController;
  11. use Luticate\Utils\Dbo\LuPaginatedDbo;
  12. class StopsController extends LuController
  13. {
  14. protected function getBusiness()
  15. {
  16. return new StopsBusiness();
  17. }
  18. /**
  19. * Get all stops, without any pagination
  20. * @return LuPaginatedDbo
  21. */
  22. public function getAll()
  23. {
  24. return static::getBusiness()->getAll();
  25. }
  26. }