<?php

declare(strict_types=1);

namespace App\Controllers;

use App\Core\Controller;
use App\Services\DocumentCycleService;

final class DocumentCycleController extends Controller
{
    public function index(): void
    {
        $this->view('document_cycle/index', [
            'title' => 'Cycle documentaire',
            'cycle' => (new DocumentCycleService())->dashboard(),
        ]);
    }
}
