PropertyLike
trait PropertyLike
| internal |
Methods
setVisibility(string|null $get, string|null $set = null)
No description
string|null
getVisibility(string $mode = PropertyAccessMode::Get)
No description
setPublic(string $mode = PropertyAccessMode::Get)
No description
bool
isPublic(string $mode = PropertyAccessMode::Get)
No description
setProtected(string $mode = PropertyAccessMode::Get)
No description
bool
isProtected(string $mode = PropertyAccessMode::Get)
No description
setPrivate(string $mode = PropertyAccessMode::Get)
No description
bool
isPrivate(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(string $type, string $shortBody = '')
No description
PropertyHook|null
getHook(string $type)
No description
bool
hasHook(string $type)
No description
Details
at line 37
PropertyLike
setVisibility(string|null $get, string|null $set = null)
No description
at line 48
string|null
getVisibility(string $mode = PropertyAccessMode::Get)
No description
at line 55
PropertyLike
setPublic(string $mode = PropertyAccessMode::Get)
No description
at line 63
bool
isPublic(string $mode = PropertyAccessMode::Get)
No description
at line 70
PropertyLike
setProtected(string $mode = PropertyAccessMode::Get)
No description
at line 78
bool
isProtected(string $mode = PropertyAccessMode::Get)
No description
at line 85
PropertyLike
setPrivate(string $mode = PropertyAccessMode::Get)
No description
at line 93
bool
isPrivate(string $mode = PropertyAccessMode::Get)
No description
at line 99
PropertyLike
setFinal(bool $state = true)
No description
at line 106
bool
isFinal()
No description
at line 112
PropertyLike
setReadOnly(bool $state = true)
No description
at line 119
bool
isReadOnly()
No description
at line 129
PropertyLike
setHooks(array $hooks)
Replaces all hooks.
at line 138
array
getHooks()
No description
at line 145
PropertyHook
addHook(string $type, string $shortBody = '')
No description
at line 153
PropertyHook|null
getHook(string $type)
No description
at line 160
bool
hasHook(string $type)
No description