123456789101112131415161718192021222324252627282930 |
- <?php
- /**
- * Created by PhpStorm.
- * User: robin
- * Date: 9/30/16
- * Time: 8:59 PM
- */
-
- namespace App\Controller;
-
- use App\Business\RoutesBusiness;
- use Luticate\Utils\Controller\LuController;
- use Luticate\Utils\Dbo\LuPaginatedDbo;
-
- class RoutesController extends LuController
- {
- protected function getBusiness()
- {
- return new RoutesBusiness();
- }
-
- /**
- * Get all routes, without any pagination
- * @return LuPaginatedDbo
- */
- public function getAll()
- {
- return static::getBusiness()->getAll();
- }
- }
|