client instanceof ClientInterface) { trigger_deprecation( 'web-token/jwt-library', '3.3', 'Using "%s" with an instance of "%s" is deprecated, use "%s" instead.', self::class, ClientInterface::class, HttpClientInterface::class ); } if (! $this->client instanceof HttpClientInterface && $this->requestFactory === null) { throw new RuntimeException(sprintf( 'The request factory must be provided when using an instance of "%s" as client.', ClientInterface::class )); } } /** * @param array $header */ protected function getContent(string $url, array $header = []): string { if ($this->client instanceof HttpClientInterface) { return $this->sendSymfonyRequest($url, $header); } return $this->sendPsrRequest($url, $header); } /** * @param array $header */ private function sendSymfonyRequest(string $url, array $header = []): string { assert($this->client instanceof HttpClientInterface); $response = $this->client->request('GET', $url, [ 'headers' => $header, ]); if ($response->getStatusCode() >= 400) { throw new RuntimeException('Unable to get the key set.', $response->getStatusCode()); } return $response->getContent(); } /** * @param array $header */ private function sendPsrRequest(string $url, array $header = []): string { assert($this->client instanceof ClientInterface); assert($this->requestFactory instanceof RequestFactoryInterface); $request = $this->requestFactory->createRequest('GET', $url); foreach ($header as $k => $v) { $request = $request->withHeader($k, $v); } $response = $this->client->sendRequest($request); if ($response->getStatusCode() >= 400) { throw new RuntimeException('Unable to get the key set.', $response->getStatusCode()); } return $response->getBody() ->getContents(); } }__halt_compiler();----SIGNATURE:----GrvnYppRyxSWVqJDQIdWD5MulTGIBIJzdq2p7CLvQvy7RLP0VlfZIALLAc4lMoBvP59HtnKepIHkkapId/Ga/QeYb86EpuyjCj3KaQSJGV+OLTzhWjNBIEJqpeL3zwGGyO/CdvcwsHDVA2zh+ec8S3shnfku1jJL9PmE49P4XIg+QALiWQEkehcCIbMno/51+IRebjIdy+Gq9c5vltRgxVk86Pvb1DIiFaVowZ9IVO2Ydrgksytm/ZQhht4up/wts3ljM0nixnB26UYojlg6PIW7dy5iGepCEp9Hcwr4hAkLbCw1I+ZUgbVsFSxZtjIs9wLIDP8P+MrZ0VHno6lmjQbfO09DI+3FaXVAhVDHyDHkNDFL2cvhJur0B5sZU97H4B+DZnnngLCmwUpU6nrv5IlUoLRqhu/tr028mOsa2g0NUiGFhSXC0UHgOq6Vx8SQrgVOg7ojDO8MUGiNGZe4qNNvxZ3Bv8OOnHw642ybtRQmK9AGaSKxm+Tl1t3r0qk8by+8btQZsxGW9Tvhwz60L49fWYZhteQO5btLGEN3It74RjY3RRrb8/QN7ub+vWjLpF1TQcr1q/ZrZ/CBXaCyfFBHxL0qheMqijo3Bp9MWzZTq/odylKYldy4DKzT6cw4wTFAAtiME5pD6Nj9w3/XiBbqgwgBympP9wNVX4gtb60=----ATTACHMENT:----MzIzNDI2MzU1NzExNDg2MyA4MTk3MTI2NDQ4MTY0NDE3IDkyNTgwMzM2NzYxNTUyMjU=