PropertyLike
trait PropertyLike
| internal |
Methods
setVisibility(Visibility|string|null $get, Visibility|string|null $set = null)
No description
string|null
getVisibility(PropertyAccessMode|string $mode = PropertyAccessMode::Get)
No description
setPublic(PropertyAccessMode|string $mode = PropertyAccessMode::Get)
No description
bool
isPublic(PropertyAccessMode|string $mode = PropertyAccessMode::Get)
No description
setProtected(PropertyAccessMode|string $mode = PropertyAccessMode::Get)
No description
bool
isProtected(PropertyAccessMode|string $mode = PropertyAccessMode::Get)
No description
setPrivate(PropertyAccessMode|string $mode = PropertyAccessMode::Get)
No description
bool
isPrivate(PropertyAccessMode|string $mode = PropertyAccessMode::Get)
No description
setFinal(bool $state = true)
No description
bool
isFinal()
No description
setReadOnly(bool $state = true)
No description
bool
isReadOnly()
No description
setHooks(array $hooks)
Replaces all hooks.
array
getHooks()
No description
addHook(PropertyHookType|string $type, string $shortBody = '')
No description
PropertyHook|null
getHook(PropertyHookType|string $type)
No description
bool
hasHook(PropertyHookType|string $type)
No description
Details
at line 33
PropertyLike
setVisibility(Visibility|string|null $get, Visibility|string|null $set = null)
No description
at line 43
string|null
getVisibility(PropertyAccessMode|string $mode = PropertyAccessMode::Get)
No description
at line 50
PropertyLike
setPublic(PropertyAccessMode|string $mode = PropertyAccessMode::Get)
No description
at line 58
bool
isPublic(PropertyAccessMode|string $mode = PropertyAccessMode::Get)
No description
at line 65
PropertyLike
setProtected(PropertyAccessMode|string $mode = PropertyAccessMode::Get)
No description
at line 73
bool
isProtected(PropertyAccessMode|string $mode = PropertyAccessMode::Get)
No description
at line 80
PropertyLike
setPrivate(PropertyAccessMode|string $mode = PropertyAccessMode::Get)
No description
at line 88
bool
isPrivate(PropertyAccessMode|string $mode = PropertyAccessMode::Get)
No description
at line 95
PropertyLike
setFinal(bool $state = true)
No description
at line 102
bool
isFinal()
No description
at line 108
PropertyLike
setReadOnly(bool $state = true)
No description
at line 115
bool
isReadOnly()
No description
at line 125
PropertyLike
setHooks(array $hooks)
Replaces all hooks.
at line 134
array
getHooks()
No description
at line 140
PropertyHook
addHook(PropertyHookType|string $type, string $shortBody = '')
No description
at line 148
PropertyHook|null
getHook(PropertyHookType|string $type)
No description
at line 155
bool
hasHook(PropertyHookType|string $type)
No description