<?php  namespace App\Http\Controllers\Api;  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(Document $document): DocumentResource{}  	public function activities(Document $id, SearchUserActivity $request): JsonResource{} }