HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/veltech.komma.pro/app/Komma/Kms/Dashboard/DashboardController.php
<?php


namespace App\Komma\Kms\Dashboard;


use App\Komma\Kms\Core\SectionController;
use App\Komma\Pages\Models\Page;

final class DashboardController extends SectionController
{

    protected $slug = "dashboard";
    protected $forModelName = Page::class; //We need to set a model altough we don't even use it. This is because of the core of the KMS demands it

    public function __construct(DashboardSection $section)
    {
        parent::__construct($section);
    }

    public function index() {
        // Build section tabs
        $this->section->getSectionTabDirector()->buildTabs();

        return $this->section->render();
    }

}