GetPrivacyDetailListener
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
__construct()
public
__construct(FeedRepositoryInterface $repository) : mixed
Parameters
-
$repository
: FeedRepositoryInterface
-
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