1: <?php declare(strict_types=1);
2:
3: namespace PhpParser\Lexer\TokenEmulator;
4:
5: use PhpParser\Lexer\Emulative;
6:
7: final class FnTokenEmulator extends KeywordEmulator
8: {
9: public function getPhpVersion(): string
10: {
11: return Emulative::PHP_7_4;
12: }
13:
14: public function getKeywordString(): string
15: {
16: return 'fn';
17: }
18:
19: public function getKeywordToken(): int
20: {
21: return \T_FN;
22: }
23: }