class UploadAvatar

Properties

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

Methods

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

No description

Details

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

Parameters

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