<?php

namespace App\Http\Controllers\Web;

use SelfPhp\SP;
use SelfPhp\Auth;
use SelfPhp\Request;
use App\Models\DashboardModel;
use App\Services\MailerService;
use App\Http\Middleware\AuthMiddleware;

/**
 * Class DashboardController
 * Handles actions related to the dashboard, such as rendering the dashboard view.
 */
class DashboardController extends SP
{
    /**
     * DashboardController constructor.
     * Constructor method that checks for authentication using AuthMiddleware.
     */
    public function __construct()
    {
        
    }

    /**
     * Displays the dashboard view.
     *
     * @return string The HTML content of the dashboard view.
     */
    public function index()
    {
        return view("views.dashboard");
    }
}
