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.

RoutesDataAccess.php 488B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: robin
  5. * Date: 9/30/16
  6. * Time: 8:57 PM
  7. */
  8. namespace App\DataAccess;
  9. use GuzzleHttp\Client;
  10. use Luticate\Utils\Controller\LuticateApplication;
  11. use Luticate\Utils\Dbo\LuPaginatedDbo;
  12. class RoutesDataAccess
  13. {
  14. public static function getAll()
  15. {
  16. $client = new Client();
  17. $response = $client->request("GET", LuticateApplication::getInstance()->getSetting("API_ENTRYPOINT") . "");
  18. return new LuPaginatedDbo();
  19. }
  20. }