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