<?php  namespace App\Contracts;  use App\Enums\UserActivityType; use Illuminate\Database\Eloquent\Relations\MorphMany;  interface HasUserActivity { 	public function activities(): MorphMany;  	public function recordReadActivity(?bool $every = null, ?bool $update = null): self;  	public function recordEveryReadActivity(): bool;  	public function updateReadActivity(): bool;  	public function getUserActivityTitle(): ?string;  	public function getUserActivityUrl(): ?string;  	public function getUserActivityLinkedRelations(): array;  	public function shouldRecordUserActivity(UserActivityType $type): bool;  	public function recordUserActivity(UserActivityType $type, array $data = []): void;{}