Copied!

BeforeDeleteUserEvent

BeforeDeleteUserEvent.php : 15
Extends BeforeEvent

Event emitted before action execution.

Methods

public__construct()

BeforeDeleteUserEvent.php : 23
public __construct(User $user)

Parameters

Name Type Default value Description
$user User - -

publicgetLocations()

BeforeDeleteUserEvent.php : 33
public getLocations() : array<string|int, mixed>

Return values

array<string|int, mixed>

publicgetUser()

BeforeDeleteUserEvent.php : 28
public getUser() : User

Return values

User

publichasLocations()

BeforeDeleteUserEvent.php : 47
public hasLocations() : bool

Return values

bool

publicsetLocations()

BeforeDeleteUserEvent.php : 42
public setLocations(array<string|int, mixed>|null $locations) : void

Parameters

Name Type Default value Description
$locations array<string|int, mixed>|null - -