DeleteUser
in package
implements
DeletesUsers
Interfaces, Classes, Traits and Enums
- DeletesUsers
Table of Contents
- $deletesTeams : DeletesTeams
- The team deleter implementation.
- __construct() : void
- Create a new action instance.
- delete() : void
- Delete the given user.
- deleteTeams() : void
- Delete the teams and team associations attached to the user.
Properties
$deletesTeams
The team deleter implementation.
protected
DeletesTeams
$deletesTeams
Methods
__construct()
Create a new action instance.
public
__construct(DeletesTeams $deletesTeams) : void
Parameters
- $deletesTeams : DeletesTeams
Return values
void —delete()
Delete the given user.
public
delete(mixed $user) : void
Parameters
- $user : mixed
Return values
void —deleteTeams()
Delete the teams and team associations attached to the user.
protected
deleteTeams(mixed $user) : void
Parameters
- $user : mixed