Total Complexity | 4 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
7 | final class AuthorizationResponse implements AuthorizationResponseInterface |
||
8 | { |
||
9 | 20 | public function __construct( |
|
15 | 20 | } |
|
16 | |||
17 | 16 | public function isPermitted(): bool |
|
18 | { |
||
19 | 16 | return $this->permitted; |
|
20 | } |
||
21 | |||
22 | 5 | public function getReason(): ?string |
|
25 | } |
||
26 | |||
27 | 2 | public function getHandler(): ?string |
|
32 |