Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | public function __construct(LoggerInterface $logger, string $jwt) |
||
19 | { |
||
20 | $this->logger = $logger; |
||
21 | $this->curlClient = new CurlClient($this->logger); |
||
22 | $this->curlClient->setRequestHeader('Accept', Document::CONTENT_TYPE); |
||
23 | $this->curlClient->setRequestHeader('Authorization', \sprintf('Bearer %s', $jwt)); |
||
24 | } |
||
46 |