PHP Class Flarum\Event\UserWillBeDeleted

Datei anzeigen Open project: flarum/core

Public Properties

Property Type Description
$actor Flarum\Core\User The user who is performing the action.
$data array Any user input associated with the command.
$user Flarum\Core\User The user who will be deleted.

Public Methods

Method Description
__construct ( User $user, User $actor, array $data )

Method Details

__construct() public method

public __construct ( User $user, User $actor, array $data )
$user Flarum\Core\User The user who will be deleted.
$actor Flarum\Core\User The user performing the action.
$data array Any user input associated with the command.

Property Details

$actor public_oe property

The user who is performing the action.
public User,Flarum\Core $actor
return Flarum\Core\User

$data public_oe property

Any user input associated with the command.
public array $data
return array

$user public_oe property

The user who will be deleted.
public User,Flarum\Core $user
return Flarum\Core\User