Total Complexity | 4 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class Determiner |
||
12 | { |
||
13 | 101 | public static function listenUnauthorizedOwnerEventForLogger(): bool |
|
16 | } |
||
17 | |||
18 | 72 | public static function transformSecretNameToKebabCase(): bool |
|
21 | } |
||
22 | |||
23 | 101 | public static function isEnabledMiddleware(): bool |
|
24 | { |
||
25 | 101 | return self::get('middleware.enabled', true); |
|
26 | } |
||
27 | |||
28 | 101 | private static function get(string $key, bool $default = false): bool |
|
31 | } |
||
32 | } |
||
33 |