Event is the base class for classes containing event data.
Methods¶
__construct()
¶
UsersWithPermissionInfoMappedEvent.php
:
32
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$result | Result<string|int, T> | - | - |
$context | PermissionCheckContext | - | - |
$module | string | - | - |
$function | string | - | - |
getContext()
¶
UsersWithPermissionInfoMappedEvent.php
:
44
|
|
Return values
getFunction()
¶
UsersWithPermissionInfoMappedEvent.php
:
54
|
|
Return values
string
getModule()
¶
UsersWithPermissionInfoMappedEvent.php
:
49
|
|
Return values
string
getResult()
¶
UsersWithPermissionInfoMappedEvent.php
:
62
|
|
Return values
Result<string|int, T>
isPropagationStopped()
¶
Event.php
:
38
|
|
Return values
bool
setResult()
¶
UsersWithPermissionInfoMappedEvent.php
:
70
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$result | Result<string|int, T> | - | - |
stopPropagation()
¶
Event.php
:
50
Stops the propagation of the event to further event listeners.
|
|
If multiple event listeners are connected to the same event, no further event listener will be triggered once any trigger calls stopPropagation().