Files
symfony-k3s/src/Controller/HomeController.php
T
2026-07-25 22:06:43 +02:00

20 lines
391 B
PHP

<?php
declare(strict_types=1);
namespace App\Controller;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Attribute\Route;
final class HomeController
{
#[Route('/', name: 'app_home', methods: ['GET'])]
public function index(): Response
{
return new Response(
'<h1>Symfony is running in FrankenPHP 🎉</h1>'
);
}
}