Total Complexity | 2 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class DecryptSettings |
||
8 | { |
||
9 | private static ?string $defaultKeyName = null; |
||
10 | |||
11 | /** |
||
12 | * @param string|NULL $decryptionKey A decryption key name, or NULL to reset to the default. |
||
13 | * @return void |
||
14 | */ |
||
15 | public static function setDefaultKeyName(?string $decryptionKey): void |
||
18 | } |
||
19 | |||
20 | /** |
||
21 | * Gets the default decryption key name for decryption. |
||
22 | * |
||
23 | * @return string |
||
24 | */ |
||
25 | public static function getDefaultKeyName(): ?string |
||
30 |