Copied!

CopyRoleEvent

CopyRoleEvent.php : 15
Extends AfterEvent

Event emitted after action execution.

Methods

public__construct()

CopyRoleEvent.php : 26
public __construct(Role $copiedRole, Role $role, RoleCopyStruct $roleCopyStruct)

Parameters

Name Type Default value Description
$copiedRole Role - -
$role Role - -
$roleCopyStruct RoleCopyStruct - -

publicgetCopiedRole()

CopyRoleEvent.php : 41
public getCopiedRole() : Role

Return values

Role

publicgetRole()

CopyRoleEvent.php : 36
public getRole() : Role

Return values

Role

publicgetRoleCopyStruct()

CopyRoleEvent.php : 46
public getRoleCopyStruct() : RoleCopyStruct

Return values

RoleCopyStruct

publicisPropagationStopped()

Event.php : 38
public isPropagationStopped() : bool

Return values

bool

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().