| Total Complexity | 4 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | final class BeforeLogout |
||
| 10 | { |
||
| 11 | private bool $isValid = true; |
||
| 12 | |||
| 13 | 5 | public function __construct(private IdentityInterface $identity) |
|
| 14 | { |
||
| 15 | 5 | } |
|
| 16 | |||
| 17 | 1 | public function invalidate(): void |
|
| 20 | } |
||
| 21 | |||
| 22 | 4 | public function isValid(): bool |
|
| 25 | } |
||
| 26 | |||
| 27 | 1 | public function getIdentity(): IdentityInterface |
|
| 32 |