Refactor code structure for improved readability and maintainability

This commit is contained in:
hamed
2026-06-12 11:00:24 +03:30
parent c05ac7ca51
commit 484d3024c1
7 changed files with 930 additions and 1 deletions
+16
View File
@@ -0,0 +1,16 @@
<?php
namespace App\Shared\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Attribute\Route;
class HomeController extends AbstractController
{
#[Route('/', name: 'home', methods: ['GET'])]
public function index(): Response
{
return $this->render('public/home.html.twig');
}
}