<?php
/**
 * Created by PhpStorm.
 * User: robin
 * Date: 9/30/16
 * Time: 8:57 PM
 */

namespace App\DataAccess;

use GuzzleHttp\Client;
use Luticate\Utils\Controller\LuticateApplication;
use Luticate\Utils\Dbo\LuPaginatedDbo;

class RoutesDataAccess
{
    public static function getAll()
    {
        $client = new Client();
        $response = $client->request("GET", LuticateApplication::getInstance()->getSetting("API_ENTRYPOINT") . "");
        return new LuPaginatedDbo();
    }
}