Total Complexity | 2 |
Total Lines | 15 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
21 | trait SecurityProfileTrait |
||
22 | { |
||
23 | |||
24 | protected ?string $matchExp = null; |
||
25 | |||
26 | /** |
||
27 | * Checks if the given request matches the defined match expression. |
||
28 | * |
||
29 | * @param ServerRequestInterface $request The server request to match against. |
||
30 | * @return bool Returns true if the request matches the match expression, false otherwise. |
||
31 | */ |
||
32 | public function match(ServerRequestInterface $request): bool |
||
38 |