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

class CustomerController {
    public function index(): void {
        require_login();
        $model = new Customer();
        $customers = $model->getAll();
        include __DIR__ . '/../../app/Views/customers/index.php';
    }
}
