Documentation

AsymmetricVisibilityTokenEmulator extends TokenEmulator
in package

FinalYes

Table of Contents

Methods

emulate()  : array<string|int, mixed>
getPhpVersion()  : PhpVersion
isEmulationNeeded()  : bool
reverseEmulate()  : array<string|int, mixed>
isKeywordContext()  : bool
getPreviousNonSpaceToken()  : Token|null

Methods

emulate()

public emulate(string $code, array<string|int, mixed> $tokens) : array<string|int, mixed>
Parameters
$code : string
$tokens : array<string|int, mixed>
Return values
array<string|int, mixed>

reverseEmulate()

public reverseEmulate(string $code, array<string|int, mixed> $tokens) : array<string|int, mixed>
Parameters
$code : string
$tokens : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results