您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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. }