Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

RoutesController.php 547B

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\RoutesBusiness;
  10. use Luticate\Utils\Controller\LuController;
  11. use Luticate\Utils\Dbo\LuPaginatedDbo;
  12. class RoutesController extends LuController
  13. {
  14. protected function getBusiness()
  15. {
  16. return new RoutesBusiness();
  17. }
  18. /**
  19. * Get all routes, without any pagination
  20. * @return LuPaginatedDbo
  21. */
  22. public function getAll()
  23. {
  24. return static::getBusiness()->getAll();
  25. }
  26. }