<?php

declare(strict_types=1);

namespace luumicore\CoreBundle\Controller\Page;

use Contao\CoreBundle\Controller\Page\AbstractLayoutPageController;
use Contao\CoreBundle\DependencyInjection\Attribute\AsPage;
use Contao\CoreBundle\Twig\LayoutTemplate;
use Contao\LayoutModel;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;

#[AsPage(type: 'luumicore_dashboard')]
class DashboardPageController extends AbstractLayoutPageController
{
    protected function getResponse(LayoutTemplate $template, LayoutModel $model, Request $request): Response
    {
        $this->initializeContaoFramework();
        dump($this->container);
        return $template->getResponse();
    }
}