| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 24 | 1 | protected function run( |
|
| 25 | ServerRequestInterface $request, |
||
| 26 | ResponseInterface $response, |
||
| 27 | array $args |
||
| 28 | ): ResponseInterface { |
||
| 29 | /** @var UserInterface $user */ |
||
| 30 | 1 | $user = $request->getAttribute(SessionValidatorMiddleware::USER); |
|
| 31 | |||
| 32 | 1 | return $this->asJson( |
|
| 33 | $response, |
||
| 34 | 1 | $this->privilegeChecker->getAcl($user) |
|
| 35 | ); |
||
| 38 |