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 35
PropertyLike
setVisibility(Visibility|string|null $get, Visibility|string|null $set = null)
No description
at line 46
string|null
getVisibility(PropertyAccessMode|string $mode = PropertyAccessMode::Get)
No description
at line 54
PropertyLike
setPublic(PropertyAccessMode|string $mode = PropertyAccessMode::Get)
No description
at line 63
bool
isPublic(PropertyAccessMode|string $mode = PropertyAccessMode::Get)
No description
at line 71
PropertyLike
setProtected(PropertyAccessMode|string $mode = PropertyAccessMode::Get)
No description
at line 80
bool
isProtected(PropertyAccessMode|string $mode = PropertyAccessMode::Get)
No description
at line 88
PropertyLike
setPrivate(PropertyAccessMode|string $mode = PropertyAccessMode::Get)
No description
at line 97
bool
isPrivate(PropertyAccessMode|string $mode = PropertyAccessMode::Get)
No description
at line 104
PropertyLike
setFinal(bool $state = true)
No description
at line 111
bool
isFinal()
No description
at line 117
PropertyLike
setReadOnly(bool $state = true)
No description
at line 124
bool
isReadOnly()
No description
at line 134
PropertyLike
setHooks(array $hooks)
Replaces all hooks.
at line 143
array
getHooks()
No description
at line 150
PropertyHook
addHook(PropertyHookType|string $type, string $shortBody = '')
No description
at line 159
PropertyHook|null
getHook(PropertyHookType|string $type)
No description
at line 167
bool
hasHook(PropertyHookType|string $type)
No description