1: <?php declare(strict_types=1);
2:
3: namespace PhpParser\Lexer\TokenEmulator;
4:
5: use PhpParser\PhpVersion;
6:
7: final class MatchTokenEmulator extends KeywordEmulator {
8: public function getPhpVersion(): PhpVersion {
9: return PhpVersion::fromComponents(8, 0);
10: }
11:
12: public function getKeywordString(): string {
13: return 'match';
14: }
15:
16: public function getKeywordToken(): int {
17: return \T_MATCH;
18: }
19: }
20: