Copied!

AssignRoleToUserEvent

AssignRoleToUserEvent.php : 16
Extends AfterEvent

Event emitted after action execution.

Methods

public__construct()

AssignRoleToUserEvent.php : 27
public __construct(Role $role, User $user[, RoleLimitation|null $roleLimitation = null ])

Parameters

Name Type Default value Description
$role Role - -
$user User - -
$roleLimitation RoleLimitation|null null -

publicgetRole()

AssignRoleToUserEvent.php : 37
public getRole() : Role

Return values

Role

publicgetRoleLimitation()

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

Return values

RoleLimitation|null

publicgetUser()

AssignRoleToUserEvent.php : 42
public getUser() : User

Return values

User