src/Controller/DashboardController.php line 31
<?php
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Bundle\SecurityBundle\Security;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
/**
* Class DashboardController
*
* @package App\Controller
*
* @author Tristan Heckelsmüller <t.heckelsmueller@seonicals.de>
* @copyright Copyright (c) 2023, Seonicals GmbH
*/
class DashboardController extends AbstractController
{
private Security $security;
public function __construct(Security $security)
{
$this->security = $security;
}
#[Route('/dashboard', name: 'app_dashboard')]
public function index(): Response
{
return $this->render('dashboard/index.html.twig', [
'controller_name' => 'DashboardController',
]);
}
}