1 | <?php |
||
17 | class MiscUtility |
||
18 | { |
||
19 | /** |
||
20 | * Returns, if the current TYPO3 version it 9.5 LTS |
||
21 | * |
||
22 | * @return bool |
||
23 | */ |
||
24 | public static function isV9Lts(): bool |
||
28 | |||
29 | /** |
||
30 | * Returns, if the current TYPO3 version it 8.7 LTS |
||
31 | * |
||
32 | * @return bool |
||
33 | */ |
||
34 | public static function isV8Lts(): bool |
||
38 | |||
39 | /** |
||
40 | * Returns chars extracted from a hmac for the challenge/response spam check |
||
41 | * |
||
42 | * @param int $eventUid |
||
43 | * @return string |
||
44 | */ |
||
45 | public static function getSpamCheckChallenge(int $eventUid): string |
||
54 | } |
||
55 |