PropertyHook
final class PropertyHook
Definition of a property hook.
Methods
setBody(string $code, array|null $args = null, bool $short = false)
No description
string
getBody()
No description
bool
isShort()
No description
setFinal(bool $state = true)
No description
bool
isFinal()
No description
setAbstract(bool $state = true)
No description
bool
isAbstract()
No description
setParameters(array $val)
No description
array
getParameters()
No description
addParameter(string $name)
Adds a parameter. If it already exists, it overwrites it.
setReturnReference(bool $state = true)
No description
bool
getReturnReference()
No description
Details
at line 27
PropertyHook
setBody(string $code, array|null $args = null, bool $short = false)
No description
at line 42
string
getBody()
No description
at line 48
bool
isShort()
No description
at line 54
PropertyHook
setFinal(bool $state = true)
No description
at line 61
bool
isFinal()
No description
at line 67
PropertyHook
setAbstract(bool $state = true)
No description
at line 74
bool
isAbstract()
No description
at line 84
PropertyHook
setParameters(array $val)
| internal |
No description
at line 100
array
getParameters()
| internal |
No description
at line 110
Parameter
addParameter(string $name)
Adds a parameter. If it already exists, it overwrites it.
at line 116
PropertyHook
setReturnReference(bool $state = true)
No description
at line 123
bool
getReturnReference()
No description