can('ViewAny:Category'); } public function view(AuthUser $authUser, Category $category): bool { return $authUser->can('View:Category'); } public function create(AuthUser $authUser): bool { return $authUser->can('Create:Category'); } public function update(AuthUser $authUser, Category $category): bool { return $authUser->can('Update:Category'); } public function delete(AuthUser $authUser, Category $category): bool { return $authUser->can('Delete:Category'); } public function restore(AuthUser $authUser, Category $category): bool { return $authUser->can('Restore:Category'); } public function forceDelete(AuthUser $authUser, Category $category): bool { return $authUser->can('ForceDelete:Category'); } public function forceDeleteAny(AuthUser $authUser): bool { return $authUser->can('ForceDeleteAny:Category'); } public function restoreAny(AuthUser $authUser): bool { return $authUser->can('RestoreAny:Category'); } public function replicate(AuthUser $authUser, Category $category): bool { return $authUser->can('Replicate:Category'); } public function reorder(AuthUser $authUser): bool { return $authUser->can('Reorder:Category'); } }