12345678910111213141516171819202122232425 |
- <?php
- /**
- * Created by PhpStorm.
- * User: robin
- * Date: 9/30/16
- * Time: 10:04 PM
- */
-
- namespace App\DataAccess;
-
-
- use GuzzleHttp\Client;
- use Luticate\Utils\Controller\LuticateApplication;
-
- class MiscDataAccess
- {
- public static function getConfigWebPage()
- {
- $client = new Client();
- $configWebPage = LuticateApplication::getInstance()->getSetting("API_CONFIG_WEBPAGE");
- $response = $client->request("GET", $configWebPage);
- $data = (string)$response->getBody();
- return $data;
- }
- }
|