<?php
declare(strict_types=1);
require_once __DIR__ . '/../../app/Models/User.php';
require_once __DIR__ . '/../../app/Config/functions.php';

class UsersController {
    public function index(): void {
        require_login();
        $userModel = new User();
        $users = $userModel->getAll();
        $title = "User Management";
        include __DIR__ . '/../../app/Views/users/index.php';
    }
}
