| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | public function generateHttpResponse(ResponseInterface $response) |
||
| 24 | { |
||
| 25 | $response = $response |
||
| 26 | ->withStatus(200) |
||
| 27 | ->withHeader('pragma', 'no-cache') |
||
| 28 | ->withHeader('cache-control', 'no-store') |
||
| 29 | ->withHeader('content-type', 'application/json; charset=UTF-8'); |
||
| 30 | |||
| 31 | $response->getBody()->write(\json_encode($this->claimSet->getClaims())); |
||
| 32 | |||
| 33 | return $response; |
||
|
|
|||
| 34 | } |
||
| 36 |