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

Parameters

string $code
array|null $args
bool $short

Return Value

PropertyHook

at line 44
string getBody()

No description

Return Value

string

at line 50
bool isShort()

No description

Return Value

bool

at line 56
PropertyHook setFinal(bool $state = true)

No description

Parameters

bool $state

Return Value

PropertyHook

at line 63
bool isFinal()

No description

Return Value

bool

at line 69
PropertyHook setAbstract(bool $state = true)

No description

Parameters

bool $state

Return Value

PropertyHook

at line 76
bool isAbstract()

No description

Return Value

bool

at line 83
PropertyHook setParameters(array $val)

internal  
 

No description

Parameters

array $val

Return Value

PropertyHook

at line 96
array getParameters()

internal  
 

No description

Return Value

array

at line 106
Parameter addParameter(string $name)

Adds a parameter. If it already exists, it overwrites it.

Parameters

string $name

without $

Return Value

Parameter

at line 112
PropertyHook setReturnReference(bool $state = true)

No description

Parameters

bool $state

Return Value

PropertyHook

at line 119
bool getReturnReference()

No description

Return Value

bool

Traits