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:----CY/+RjW6q4TLkw1wnBrOIHHm3nwNvn0O/vK0Il2mzh4oNuTFeKcEXB6UeW5jR354uUwEgSNHQ7qDjv1rnIIpPGhWVuf/n77k/opuGhV8BwMdwJWQb7L+BUyLSYphhc1yUwxUKFIjbeJVqXfEiSf1yipaJBDLWbToIYrIkDn93mm1n+9qEzJg1X8zyXPKdaSwd0b/k9aJjZh8aE3HIMl8KbNaty/d7a+W87YBSB0ix4j8e6qreC546IhHB3wEdF0Hnv7e81siDcNHB26cOb5Ig+RfDl47h8xXKsw321j6FenxUm/4zYmNPVaxnNP2Pqf9dRhS0jn3PRxK23YcdyISWLqASL3MCN1EhMKcsbtGhRGbS7G1f/CfbyvfTkgF+DKT04UYdEpaepeY/uDp2vKvvHPxzLFAnrcVihyDbJ/R4sEHlI6QAwCIRmQAOCsJ1+89ViBaaia3isSZqTh5JDKOrmYg8Wd+PrqRZLdZaXG6yU/WaKSZBI1n1q3tcNMmdPoRnO9DsQ0o4+vrnMAMkQrWXaA7IFdxs5+yo3+oR/z1104BSkOX/vtHVmREpDfT+NMaaJx31DUvqcsN95M1+mF82hPDEYM1lTZd1OWg6BknarRK/7h8usahOv7FF+Ve4EfAqx+jXkK6pIBvgnOMFbsPtzXZiqPHMzz78Y3MImSwwc4=----ATTACHMENT:----NzE5NjYyNTc3MjE1NjM5OSAzMDM3NjkyMzc1MDM4MTEyIDM2MDU3MTkxODU4OTIzMzk=