<?php  namespace App\Http\Controllers\Api;  use App\Models\Blog; use Illuminate\View\View; use App\Enums\UserActivityType; use App\Http\Requests\SearchTerm; use Illuminate\Http\JsonResponse; use App\Http\Controllers\Controller; use App\Http\Requests\DataTableSearch; use App\Http\Resources\BlogListResource; use Yajra\DataTables\Facades\DataTables; use App\Http\Requests\SearchUserActivity; use App\Http\Resources\BlogSingleResource; use App\Http\Resources\UserActivityResource; use Illuminate\Http\Resources\Json\JsonResource;  class BlogController extends Controller { 	public function index(SearchTerm $request): JsonResource{}  	public function single(Blog $blog): BlogSingleResource{}  	public function activities(Blog $id, SearchUserActivity $request): JsonResource{}  	public function indexSSR(DataTableSearch $request): JsonResponse{} }