MetaFox

GetPrivacyDetailListener
in package

Table of Contents

Properties

$repository  : FeedRepositoryInterface

Methods

__construct()  : mixed
handle()  : array<string|int, mixed>|null
getPrivacyDetailForContent()  : array<string|int, mixed>|null
getPrivacyDetailOnOwner()  : array<string|int, mixed>|null

Properties

Methods

handle()

public handle(User|null $context, Content|null $resource[, int|null $representativePrivacy = null ][, bool $checkOwner = false ]) : array<string|int, mixed>|null
Parameters
$context : User|null
$resource : Content|null
$representativePrivacy : int|null = null
$checkOwner : bool = false
Return values
array<string|int, mixed>|null

getPrivacyDetailForContent()

protected getPrivacyDetailForContent(User $context, Content $resource[, int|null $representativePrivacy = null ]) : array<string|int, mixed>|null
Parameters
$context : User
$resource : Content
$representativePrivacy : int|null = null
Return values
array<string|int, mixed>|null

getPrivacyDetailOnOwner()

protected getPrivacyDetailOnOwner(User $context, Content $resource) : array<string|int, mixed>|null
Parameters
$context : User
$resource : Content
Return values
array<string|int, mixed>|null

        
On this page

Search results