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 29
PropertyHook
setBody(string $code, array|null $args = null, bool $short = false)
No description
at line 44
string
getBody()
No description
at line 50
bool
isShort()
No description
at line 56
PropertyHook
setFinal(bool $state = true)
No description
at line 63
bool
isFinal()
No description
at line 69
PropertyHook
setAbstract(bool $state = true)
No description
at line 76
bool
isAbstract()
No description
at line 83
PropertyHook
setParameters(array $val)
internal |
No description
at line 96
array
getParameters()
internal |
No description
at line 106
Parameter
addParameter(string $name)
Adds a parameter. If it already exists, it overwrites it.
at line 112
PropertyHook
setReturnReference(bool $state = true)
No description
at line 119
bool
getReturnReference()
No description