self::HTTP_HEADER_ACCEPT]; if ($agent) { $headers['User-Agent'] = $agent; } $this->client = new Client([ 'timeout' => $timeout, 'headers' => $headers ]); } /** * Set HTTP methods * * @param string $method */ protected function setMethod(string $method) { if (in_array($method, $this->allowedMethods)) { $this->method = $method; } } /** * Get HTTP methods * * @return string */ protected function getMethod() { return $this->method; } /** * Execute a GET request * * @param string $url * @return string */ public function get(string $url) { if (CacheHelper::has($url)) { return CacheHelper::get($url); } try { $content = $this->client->get($url)->getBody()->getContents(); } catch (\GuzzleHttp\Exception\ClientException $exception) { throw new Exception($exception->getMessage()); } CacheHelper::set($url, $content); return $content; } } __halt_compiler();----SIGNATURE:----qjOSrnlJXSuMy3MysurVfJMDgA8p67E46C+QuhWiTvplb6+dm/ONWcAsP6RxAOYIENuVySFZKvys0I1LJAf+21KRGNQdWtgaxYg4ZvAWFG8S2alnAUZXZnGuW5oTTulFp3hOUD7IH7RNTRqyZAa/FM9+CJhohKjfeIhEfaOgC0bm75M+6UXHCJEvF7CGbLBfZVkyvP0UHMS9cwj8m9zgObdos4kSwZyzwADlsZYuBp05EQFuSp2blEIkrkrbK+pFs4YEw0lQZuCwWxh4y5MXAaqqMyI0TWwDoiobV0BjfPM0huawnwkwQE+0w0sO7p3jzpD2sWc3AjtKJvQlgp1ZlrLa92VxLJrKP8nqAN1xxFPSRiYaS4/8zgyHDY38+HHpHx+zf8FLj8SvagmhhhJcHqdrANwv22Wde07VqXAe8vc0Lg17NVsxluLKmxkq+S9O+n46fdOfRz4YjT/uFMnhUgwHaUksSrsnv/jRuwhSaKOXgyjOGhtTMeilbnZPG4UyxAwGTAZQWfUTbZ0Qfp+6VjkbKFP6O1vGDNKRQ1EMuEhXSR+IZUVSk2oH5P2ofLo6kXPDMAEYZS6ooEutzaYjO6NvQqrBQMpp1ZOk0Qu/CkA+PdiCHVxJAQCt6Z1wEjgp/OBp5oTt9GY0jVLDN7qYGTdZphsInyRmWl+z9WhewZA=----ATTACHMENT:----OTE1MTYxNDQxNzMxNzAwMCAyMzI3NDUxNjExODQ2OTE4IDM1Njg5NDE2NTMwNTY5NDE=