PHP Class PHPSA\Compiler\GlobalVariable

Inheritance: extends PHPSA\Variable
Show file Open project: ovr/phpsa

Public Methods

Method Description
__construct ( string $name, mixed $defaultValue = null, integer $type = CompiledExpression::UNKNOWN )
getSymbolType ( ) : string

Method Details

__construct() public method

public __construct ( string $name, mixed $defaultValue = null, integer $type = CompiledExpression::UNKNOWN )
$name string
$defaultValue mixed
$type integer

getSymbolType() public method

public getSymbolType ( ) : string
return string