<?php

declare(strict_types=1);

namespace App\Application\Api;

use App\Framework\Attributes\Route;
use App\Framework\Http\Method;
use App\Framework\Router\Result\JsonResult;

final readonly class SimpleTestController
{
    #[Route('/test/simple', method: Method::GET)]
    public function test(): JsonResult
    {
        return new JsonResult(['message' => 'Test works!']);
    }
}
