class UserPolicy extends AbstractPolicy

Properties

protected $model <p>{@inheritdoc}</p>

Methods

subscribe(Dispatcher $events)

No description

bool|null
getPermission(GetPermission $event)

No description

bool|null
before(User $actor, string $ability)

No description

Details

subscribe(Dispatcher $events)

Parameters

Dispatcher $events

bool|null getPermission(GetPermission $event)

Parameters

GetPermission $event

Return Value

bool|null

scopeModelVisibility(ScopeModelVisibility $event)

Parameters

ScopeModelVisibility $event

bool|null before(User $actor, string $ability)

Parameters

User $actor
string $ability

Return Value

bool|null