PHPCfg\Op\Stmt\Property::__construct PHP Method

__construct() public method

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