Class Packager_Php_Scripts_Replacer
Located at src/Packager/Php/Scripts/Replacer.php
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public
|
|
public
&
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected static
|
protected static
array
|
$dynamicClassFnDeterminators
|
#
[
'continueTokens'=> [
T_WHITESPACE=> 1,
T_COMMENT => 1,
],
'endingTokens' => [
T_PUBLIC => 1,
T_PROTECTED => 1,
T_PRIVATE => 1,
T_ABSTRACT => 1,
T_FINAL => 1,
],
]
|
protected static
array
|
$phpFunctionsToProcess
|
#
[]
|
protected static
array
|
$wrapperReplacements
|
#
[]
|
protected static
array
|
$phpReplacementsStatistics
|
#
[]
|
protected static
string
|
$wrapperClassName
|
#
''
|
protected
|
$cfg
|
|
protected
array
|
$result
|
#
[]
|
protected
string
|
$scriptContent
|
#
''
|
protected
string
|
$statementEndOperator
|
#
';'
|
protected
|
$fileInfo
|
#
NULL
|
protected
boolean
|
$enabled
|
#
TRUE
|
protected
array
|
$tokens
|
#
[]
|
protected
integer
|
$namespaceState
|
#
0
|
protected
integer
|
$classState
|
#
0
|
protected
integer
|
$foreachState
|
#
0
|
protected
integer
|
$classBracketsLevel
|
#
0
|
protected
array
|
$functionsStates
|
#
[0]
|
protected
array
|
$functionsOpenIndexes
|
#
[0]
|
protected
array
|
$functionsBracketsLevels
|
#
[0]
|