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.

MiscDataAccess.php 530B

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