| Total Complexity | 1 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | final class EncrypterConfig extends InjectableConfig |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * Configuration section. |
||
| 23 | */ |
||
| 24 | public const CONFIG = 'encrypter'; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var array |
||
| 28 | */ |
||
| 29 | protected $config = [ |
||
| 30 | 'key' => '' |
||
| 31 | ]; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Encryption key in BASE64 format. |
||
| 35 | * |
||
| 36 | * @return string |
||
| 37 | */ |
||
| 38 | public function getKey(): string |
||
| 43 |