| Total Complexity | 3 |
| Total Lines | 15 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class Determiner |
||
| 11 | { |
||
| 12 | 49 | public static function listenUnauthorizedOwnerEventForLogger(): bool |
|
| 13 | { |
||
| 14 | 49 | return self::get('listeners.unauthorized-owner-logger', true); |
|
| 15 | } |
||
| 16 | |||
| 17 | 2 | public static function transformSecretNameToKebabCase(): bool |
|
| 18 | { |
||
| 19 | 2 | return self::get('authorizations.transform-secret-name-to-kebab-case', true); |
|
| 20 | } |
||
| 21 | |||
| 22 | 49 | private static function get(string $key, bool $default = false): bool |
|
| 25 | } |
||
| 26 | } |
||
| 27 |