MediaUploadListener
in package
Table of Contents
Properties
Methods
- __construct() : mixed
- handle() : Content|null
- Photo set feed content won't apply to every single photo. DO NOT assign content to per photo.
Properties
$repository
private
PhotoRepositoryInterface
$repository
Methods
__construct()
public
__construct(PhotoRepositoryInterface $repository) : mixed
Parameters
- $repository : PhotoRepositoryInterface
handle()
Photo set feed content won't apply to every single photo. DO NOT assign content to per photo.
public
handle(User $user, User $owner, string $itemType, TempFileModel $file, array<string, mixed> $params) : Content|null
Parameters
- $user : User
- $owner : User
- $itemType : string
- $file : TempFileModel
- $params : array<string, mixed>