PermissionCollection
class PermissionCollection extends Collection (View source)
Methods
scope(Model|string $model)
Get the permission records pertaining to a specific model.
bool
can(Group|null $recipient, string $ability, Model|string $scope)
No description
array
ids(Group|null $recipient, string $ability, string $scope)
No description
Details
PermissionCollection
scope(Model|string $model)
Get the permission records pertaining to a specific model.
bool
can(Group|null $recipient, string $ability, Model|string $scope)
No description
array
ids(Group|null $recipient, string $ability, string $scope)
No description