final class Property

Class property description.

Properties

mixed $value

Methods

setValue($val)

No description

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 49
Property setValue($val)

No description

Parameters

$val

Return Value

Property

at line 57
getValue()

No description

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

No description

Parameters

bool $state

Return Value

Property

at line 71
bool isStatic()

No description

Return Value

bool

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

No description

Parameters

string|null $type

Return Value

Property

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

No description

Parameters

bool $asObject

Return Value

Type|string|null

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

No description

Parameters

bool $state

Return Value

Property

at line 104
bool isNullable()

No description

Return Value

bool

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

No description

Parameters

bool $state

Return Value

Property

at line 118
bool isInitialized()

No description

Return Value

bool

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

No description

Parameters

bool $state

Return Value

Property

at line 132
bool isReadOnly()

No description

Return Value

bool

at line 139
void validate()

No description

Return Value

void

Exceptions

InvalidStateException

Traits

Strict class for better experience.