Property | Type | Description | |
---|---|---|---|
$actor | The user performing the action. | ||
$file | Psr\Http\Message\UploadedFileInterface | The avatar file to upload. | |
$userId | integer | The ID of the user to upload the avatar for. |
Method | Description | |
---|---|---|
__construct ( integer $userId, Psr\Http\Message\UploadedFileInterface $file, |
public __construct ( integer $userId, Psr\Http\Message\UploadedFileInterface $file, |
||
$userId | integer | The ID of the user to upload the avatar for. |
$file | Psr\Http\Message\UploadedFileInterface | The avatar file to upload. |
$actor | The user performing the action. |
public User,Flarum\Core $actor | ||
return |
public UploadedFileInterface,Psr\Http\Message $file | ||
return | Psr\Http\Message\UploadedFileInterface |
public int $userId | ||
return | integer |