# The Componere\Value class

(Componere 2 >= 2.1.0)

## Introduction

A Value represents a PHP variable of all types, including undefined

## Class synopsis

final class Componere\Value {
/* Constructor */
public function __construct(mixed `$default` = ?)
/* Methods */
public function setPrivate(): Value
public function setProtected(): Value
public function setStatic(): Value
public function isPrivate(): bool
public function isProtected(): bool
public function isStatic(): bool
public function hasDefault(): bool
}

## Table of Contents

- Componere\Value::__construct — Value Construction
- Componere\Value::setPrivate — Accessibility Modification
- Componere\Value::setProtected — Accessibility Modification
- Componere\Value::setStatic — Accessibility Modification
- Componere\Value::isPrivate — Accessibility Detection
- Componere\Value::isProtected — Accessibility Detection
- Componere\Value::isStatic — Accessibility Detection
- Componere\Value::hasDefault — Value Interaction

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open