final class Property

Definition of a class property.

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 72
Type|string|null getType(bool $asObject = false)

No description

Parameters

bool $asObject

Return Value

Type|string|null

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

No description

Parameters

bool $state

Return Value

Property

at line 87
bool isNullable()

No description

Return Value

bool

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

No description

Parameters

bool $state

Return Value

Property

at line 100
bool isInitialized()

No description

Return Value

bool

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

No description

Parameters

bool $state

Return Value

Property

at line 113
bool isReadOnly()

No description

Return Value

bool

at line 120
void validate()

No description

Return Value

void

Exceptions

InvalidStateException

Traits