Copied!

UsersWithPermissionInfoMappedEvent

UsersWithPermissionInfoMappedEvent.php : 18
Final
Extends Event

Event is the base class for classes containing event data.

Methods

public__construct()

UsersWithPermissionInfoMappedEvent.php : 32
public __construct(Result<string|int, T$result, PermissionCheckContext $context, string $module, string $function)

Parameters

Name Type Default value Description
$result Result<string|int, T> - -
$context PermissionCheckContext - -
$module string - -
$function string - -

publicgetContext()

UsersWithPermissionInfoMappedEvent.php : 44
public getContext() : PermissionCheckContext

Return values

PermissionCheckContext

publicgetFunction()

UsersWithPermissionInfoMappedEvent.php : 54
public getFunction() : string

Return values

string

publicgetModule()

UsersWithPermissionInfoMappedEvent.php : 49
public getModule() : string

Return values

string

publicgetResult()

UsersWithPermissionInfoMappedEvent.php : 62
public getResult() : Result<string|int, T>

Return values

Result<string|int, T>

publicisPropagationStopped()

Event.php : 38
public isPropagationStopped() : bool

Return values

bool

publicsetResult()

UsersWithPermissionInfoMappedEvent.php : 70
public setResult(Result<string|int, T$result) : void

Parameters

Name Type Default value Description
$result Result<string|int, T> - -

publicstopPropagation()

Event.php : 50

Stops the propagation of the event to further event listeners.

public stopPropagation() : void

If multiple event listeners are connected to the same event, no further event listener will be triggered once any trigger calls stopPropagation().