Flarum\Core\Command\EditUser::__construct PHP Méthode

__construct() public méthode

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.
    public function __construct($userId, User $actor, array $data)
    {
        $this->userId = $userId;
        $this->actor = $actor;
        $this->data = $data;
    }
EditUser