<?php  namespace App\Http\Controllers\Api;  use App\Models\Domain; use App\Models\Document; use App\Enums\UserActivityType; use App\Http\Controllers\Controller; use App\Http\Resources\DocumentResource; use App\Http\Requests\SearchUserActivity; use App\Http\Resources\UserActivityResource; use Illuminate\Http\Resources\Json\JsonResource;  class DocumentController extends Controller { 	public function single(Domain $domain, Document $document): DocumentResource{}  	public function activities(Domain $domain, Document $id, SearchUserActivity $request): JsonResource{} }