PHP Class Flarum\Core\Command\EditUser

Datei anzeigen Open project: flarum/core

Public Properties

Property Type Description
$actor Flarum\Core\User The user performing the action.
$data array The attributes to update on the user.
$userId integer The ID of the user to edit.

Public Methods

Method Description
__construct ( integer $userId, User $actor, array $data )

Method Details

__construct() public method

public __construct ( integer $userId, User $actor, array $data )
$userId integer The ID of the user to edit.
$actor Flarum\Core\User The user performing the action.
$data array The attributes to update on the user.

Property Details

$actor public_oe property

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

$data public_oe property

The attributes to update on the user.
public array $data
return array

$userId public_oe property

The ID of the user to edit.
public int $userId
return integer