PHPCfg\Op\Terminal\StaticVar::__construct PHP Метод

__construct() публичный Метод

public __construct ( Operand $var, Block $defaultBlock = null, Operand $defaultVar = null, array $attributes = [] )
$var PHPCfg\Operand
$defaultBlock PHPCfg\Block
$defaultVar PHPCfg\Operand
$attributes array
    public function __construct(Operand $var, Block $defaultBlock = null, Operand $defaultVar = null, array $attributes = [])
    {
        parent::__construct($attributes);
        $this->var = $this->addWriteRef($var);
        $this->defaultBlock = $defaultBlock;
        $this->defaultVar = $this->addReadRef($defaultVar);
    }