PHPSA\Node\Scalar\Boolean::__construct PHP Метод

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

Constructs a boolean node.
public __construct ( boolean $value, array $attributes = [] )
$value boolean Value of the number
$attributes array Additional attributes
    public function __construct($value, array $attributes = array())
    {
        parent::__construct($attributes);
        $this->value = $value;
    }