Copied!

CreateUserEvent

CreateUserEvent.php : 15
Extends AfterEvent

Event emitted after action execution.

Methods

public__construct()

CreateUserEvent.php : 26
public __construct(User $user, UserCreateStruct $userCreateStruct, array<string|int, mixed> $parentGroups)

Parameters

Name Type Default value Description
$user User - -
$userCreateStruct UserCreateStruct - -
$parentGroups array<string|int, mixed> - -

publicgetParentGroups()

CreateUserEvent.php : 41
public getParentGroups() : array<string|int, mixed>

Return values

array<string|int, mixed>

publicgetUser()

CreateUserEvent.php : 46
public getUser() : User

Return values

User

publicgetUserCreateStruct()

CreateUserEvent.php : 36
public getUserCreateStruct() : UserCreateStruct

Return values

UserCreateStruct

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