12345678910111213141516171819 |
- <?php declare(strict_types=1);
- namespace PhpParser\Lexer\TokenEmulator;
- use PhpParser\PhpVersion;
- final class MatchTokenEmulator extends KeywordEmulator {
- public function getPhpVersion(): PhpVersion {
- return PhpVersion::fromComponents(8, 0);
- }
- public function getKeywordString(): string {
- return 'match';
- }
- public function getKeywordToken(): int {
- return \T_MATCH;
- }
- }
|