MetaFox

HashtagPolicy
in package
implements ResourcePolicyInterface Uses HasPolicyTrait

Class HashtagPolicy.

Tags
SuppressWarnings

(PHPMD.UnusedFormalParameter)

Table of Contents

Interfaces

ResourcePolicyInterface

Properties

$type  : string

Methods

__call()  : bool
create()  : bool
delete()  : bool
deleteOwn()  : bool
update()  : bool
view()  : bool
viewAny()  : bool
viewOnProfilePage()  : bool
viewOwner()  : bool

Properties

Methods

__call()

public __call(string $ability, array<string|int, mixed> $arguments) : bool
Parameters
$ability : string
$arguments : array<string|int, mixed>
Return values
bool

create()

public create(User $user[, User|null $owner = null ]) : bool
Parameters
$user : User
$owner : User|null = null
Tags
SuppressWarnings

(PHPMD.UnusedFormalParameter)

Return values
bool

view()

public view(User $user, Entity $resource) : bool
Parameters
$user : User
$resource : Entity
Tags
SuppressWarnings

(PHPMD.UnusedFormalParameter)

Return values
bool

viewAny()

public viewAny(User $user[, User|null $owner = null ]) : bool
Parameters
$user : User
$owner : User|null = null
Return values
bool

viewOwner()

public viewOwner(User $user[, User|null $owner = null ]) : bool
Parameters
$user : User
$owner : User|null = null
Return values
bool

        
On this page

Search results