final class Property

Class property description.

Methods

setValue(mixed $val)

No description

mixed
getValue()

No description

setStatic(bool $state = true)

No description

bool
isStatic()

No description

setType(string|null $type)

No description

Type|string|null
getType(bool $asObject = false)

No description

setNullable(bool $state = true)

No description

bool
isNullable()

No description

setInitialized(bool $state = true)

No description

bool
isInitialized()

No description

setReadOnly(bool $state = true)

No description

bool
isReadOnly()

No description

void
validate()

No description

Details

at line 37
Property setValue(mixed $val)

No description

Parameters

mixed $val

Return Value

Property

at line 45
mixed getValue()

No description

Return Value

mixed

at line 51
Property setStatic(bool $state = true)

No description

Parameters

bool $state

Return Value

Property

at line 58
bool isStatic()

No description

Return Value

bool

at line 64
Property setType(string|null $type)

No description

Parameters

string|null $type

Return Value

Property

at line 74
Type|string|null getType(bool $asObject = false)

No description

Parameters

bool $asObject

Return Value

Type|string|null

at line 82
Property setNullable(bool $state = true)

No description

Parameters

bool $state

Return Value

Property

at line 89
bool isNullable()

No description

Return Value

bool

at line 95
Property setInitialized(bool $state = true)

No description

Parameters

bool $state

Return Value

Property

at line 102
bool isInitialized()

No description

Return Value

bool

at line 108
Property setReadOnly(bool $state = true)

No description

Parameters

bool $state

Return Value

Property

at line 115
bool isReadOnly()

No description

Return Value

bool

at line 122
void validate()

No description

Return Value

void

Exceptions

InvalidStateException

Traits

Strict class for better experience.