Method |
Description |
|
__construct ( string $name, mixed $defaultValue = null, integer $type = CompiledExpression::UNKNOWN, integer | string $branch = self::BRANCH_ROOT ) |
Creates a variable. |
|
__debugInfo ( ) : array |
|
|
dec ( ) |
Decrement value of the variable |
|
getGets ( ) : integer |
Gets the read counter. |
|
getName ( ) : string |
|
|
getReferencedTo ( ) : null | Variable |
|
|
getSets ( ) : integer |
Gets the write counter. |
|
getSymbolType ( ) : string |
|
|
getType ( ) : mixed |
|
|
getTypeName ( ) : string |
|
|
getValue ( ) : mixed |
|
|
inc ( ) |
Increment value of the variable |
|
incGets ( ) : integer |
Increases the read counter. |
|
incSets ( ) : integer |
Increases the write counter. |
|
incUse ( ) |
Increment uses for gets and sets |
|
isNumeric ( ) : boolean |
Is it an integer,double or number. |
|
isReferenced ( ) : boolean |
|
|
isUnused ( ) : boolean |
Check if you are setting values to variable but didn't use it (means get) |
|
modify ( integer $type, mixed $value ) |
Changes variable type and value. |
|
modifyType ( integer $type ) |
Changes variable type. |
|
setReferencedTo ( Variable $referencedTo = null ) |
|
|