Copied!

AssignRoleToUserGroupEvent

AssignRoleToUserGroupEvent.php : 16
Extends AfterEvent

Event emitted after action execution.

Methods

public__construct()

AssignRoleToUserGroupEvent.php : 27
public __construct(Role $role, UserGroup $userGroup[, RoleLimitation|null $roleLimitation = null ])

Parameters

Name Type Default value Description
$role Role - -
$userGroup UserGroup - -
$roleLimitation RoleLimitation|null null -

publicgetRole()

AssignRoleToUserGroupEvent.php : 37
public getRole() : Role

Return values

Role

publicgetRoleLimitation()

AssignRoleToUserGroupEvent.php : 47
public getRoleLimitation() : RoleLimitation|null

Return values

RoleLimitation|null

publicgetUserGroup()

AssignRoleToUserGroupEvent.php : 42
public getUserGroup() : UserGroup

Return values

UserGroup

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