MetaFox

FeedComposerListener
in package

Table of Contents

Properties

$photoGroupRepository  : PhotoGroupRepositoryInterface
$repository  : PhotoRepositoryInterface

Methods

__construct()  : mixed
handle()  : array<string|int, mixed>|null
Photo set feed content won't apply to every single photo. DO NOT assign content to per photo.
canUploadMedia()  : bool
handleComposer()  : int
uploadMedias()  : array<string|int, mixed>

Properties

Methods

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 $postType, array<string, mixed> $params) : array<string|int, mixed>|null
Parameters
$user : User
$owner : User
$postType : string
$params : array<string, mixed>
Return values
array<string|int, mixed>|null

canUploadMedia()

protected canUploadMedia(array<string|int, mixed> $files) : bool
Parameters
$files : array<string|int, mixed>
Return values
bool

handleComposer()

protected handleComposer(User $user, User $owner, array<string|int, mixed> $params) : int
Parameters
$user : User
$owner : User
$params : array<string|int, mixed>
Return values
int

uploadMedias()

protected uploadMedias(User $user, User $owner, array<string|int, mixed> $params, string|null $groupContent) : array<string|int, mixed>
Parameters
$user : User
$owner : User
$params : array<string|int, mixed>
$groupContent : string|null
Return values
array<string|int, mixed>

        
On this page

Search results