<?phpnamespace App\Controller;use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;use Symfony\Component\HttpFoundation\Response;use Symfony\Component\Routing\Annotation\Route;class IndexController extends AbstractController{ /** * @Route("/", name="index") */ public function dashboard(): Response { return $this->redirectToRoute('app_login'); }}