class UploadAvatar

Properties

int $userId The ID of the user to upload the avatar for.
UploadedFileInterface $file The avatar file to upload.
User $actor The user performing the action.

Methods

__construct(int $userId, UploadedFileInterface $file, User $actor)

No description

Details

__construct(int $userId, UploadedFileInterface $file, User $actor)

Parameters

int $userId The ID of the user to upload the avatar for.
UploadedFileInterface $file The avatar file to upload.
User $actor The user performing the action.