added db to symfony
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?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>'
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user