Свойство | Тип | Описание | |
---|---|---|---|
$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. |
Метод | Описание | |
---|---|---|
__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 | ||
Результат |
public UploadedFileInterface,Psr\Http\Message $file | ||
Результат | Psr\Http\Message\UploadedFileInterface |
public int $userId | ||
Результат | integer |