abstract class AbstractPolicy

Properties

protected string $model

Methods

subscribe(Dispatcher $events)

No description

bool|void
getPermission(GetPermission $event)

No description

scopeModelVisibility(ScopeModelVisibility $event) deprecated

No description

Details

subscribe(Dispatcher $events)

Parameters

Dispatcher $events

bool|void getPermission(GetPermission $event)

Parameters

GetPermission $event

Return Value

bool|void

scopeModelVisibility(ScopeModelVisibility $event) deprecated

deprecated beta 15, remove beta 16

Parameters

ScopeModelVisibility $event