function TokenEmulator::preprocessCode
Parameters
array{int, string, string}[] $patches :
2 methods override TokenEmulator::preprocessCode()
- AttributeEmulator::preprocessCode in vendor/
nikic/ php-parser/ lib/ PhpParser/ Lexer/ TokenEmulator/ AttributeEmulator.php - ReverseEmulator::preprocessCode in vendor/
nikic/ php-parser/ lib/ PhpParser/ Lexer/ TokenEmulator/ ReverseEmulator.php
File
-
vendor/
nikic/ php-parser/ lib/ PhpParser/ Lexer/ TokenEmulator/ TokenEmulator.php, line 27
Class
- TokenEmulator
- @internal
Namespace
PhpParser\Lexer\TokenEmulatorCode
public function preprocessCode(string $code, array &$patches) : string {
return $code;
}