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:----mjchFxEboHlpV5oYzIYQ+432LzzpJ0U0+hOrvDOZbwzNxG45w2MO+pREci43sal9YpXSlLfN3pUpVfLFcFpJslRhXiMQzSK+vihMdeYMdMvY8XfX3axRFyR7wEY4lg4jJSLBBGIqaWOTyFzLc6qrT0GdTAvjTuV5Y5FPX88ZyPD2FtUJliQqb+m789B2t+rF46oZCVvUl1kotFn5bQzpPmF5iYQ9Mb1BUJKNAMKeP7GGCXQt7PfSmdSUzxpC6NwTXw+DMbBg7sWwQhBVP+4lIyIjwCy9LBWp0dW1v9kdgA7/gS4WQmtSbuLBPk2wbRPUM/apDf89nfQgSh2COGR0lehT6luPJisO/9BDRZHQZikxKFcsnQnktEFSwCd/xw8DjbbvJWM19YRIKrUUqbtkMNAy0JJt3dBc3acwVbCLgfRLUCkKSv/Umiiy9LcHQMwjXv/c7EITagrrk4hPXGowSG/6BWCvpUUjsRjJyKjNV7jkiTCUopo6eKn53mB1Ix0i6FmoKUe3Iil7tVqKPHEEv1GIZA2BOP4h4onIsfOensUGYkdph8NE6KojUkJpWz3eh/u1Fs+bFSx4dxSmHTlDpfShBUwd9PuVCWxqGGNvfPorGIvYioIGQFxfa46nFbocmGr2eqsL8/fFSC0mxiGUH0f72jrs5eWtfmlgtF3S7D8=----ATTACHMENT:----MTczNTU2MjE4NDU3MjY2NyA4NDgxNTgzNjkyMTY0MjQ0IDk2NzM3NDg2NTgzNjgyMjY=