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