1 | <?php |
||
9 | final class SubKey |
||
10 | { |
||
11 | private function __construct() |
||
14 | |||
15 | /** |
||
16 | * Gets the subkey for the pattern cache file, generated from the given string |
||
17 | * |
||
18 | * @param string $string |
||
19 | * |
||
20 | * @return string |
||
21 | */ |
||
22 | 1 | public static function getPatternCacheSubkey(string $string) : string |
|
26 | |||
27 | /** |
||
28 | * Gets all subkeys for the pattern cache files |
||
29 | * |
||
30 | * @return string[] |
||
31 | */ |
||
32 | 1 | public static function getAllPatternCacheSubkeys() : array |
|
45 | |||
46 | /** |
||
47 | * Gets the sub key for the ini parts cache file, generated from the given string |
||
48 | * |
||
49 | * @param string $string |
||
50 | * |
||
51 | * @return string |
||
52 | */ |
||
53 | public static function getIniPartCacheSubKey(string $string) : string |
||
57 | |||
58 | /** |
||
59 | * Gets all sub keys for the inipart cache files |
||
60 | * |
||
61 | * @return string[] |
||
62 | */ |
||
63 | public static function getAllIniPartCacheSubKeys() : array |
||
78 | } |
||
79 |