Total Complexity | 1 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
6 | abstract class AbstractIdGenerator |
||
7 | { |
||
8 | /** |
||
9 | * Emergency invalidation salt. |
||
10 | * |
||
11 | * When making substantial changes to this package, |
||
12 | * all existing cached files can be invalided by changing this value. |
||
13 | * |
||
14 | * @var string |
||
15 | */ |
||
16 | protected const SALT = 'rhi0skgJnnyMvEwxVkSiOZK6wtIcX6lZlGuXRrAu'; |
||
17 | |||
18 | /** |
||
19 | * Return a SHA256 hash for the passed $vars |
||
20 | */ |
||
21 | 4 | protected function getHash(array $vars): string |
|
28 |