BaseHookRenderEvent
class BaseHookRenderEvent extends Event
Class BaseHookRenderEvent
Methods
__construct($code,
array $arguments = array())
No description
$this
setCode(
string $code)
Set the code of the hook
string
getCode()
Get the code of the hook
$this
setArguments(
array $arguments)
Set all arguments
array
getArguments()
Get all arguments
$this
setArgument(
string $key,
string $value)
add or replace an argument
mixed|null
getArgument(
string $key,
string|null $default = null)
Get an argument
bool
hasArgument($key)
Check if an argument exists with this key
Details
at line 31
__construct($code,
array $arguments = array())
at line 43
$this
setCode(
string $code)
Set the code of the hook
at line 55
string
getCode()
Get the code of the hook
at line 66
$this
setArguments(
array $arguments)
Set all arguments
at line 78
array
getArguments()
Get all arguments
at line 90
$this
setArgument(
string $key,
string $value)
add or replace an argument
at line 103
mixed|null
getArgument(
string $key,
string|null $default = null)
Get an argument
at line 114
bool
hasArgument($key)
Check if an argument exists with this key