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/SBogers47/leden.ehbocranendonck.nl/app/KommaApp/Pages/Kms/PageController.php
<?php

namespace App\KommaApp\Pages\Kms;

/**
 * @author      Komma <info@komma.pro>
 * @copyright   (c) 2012-2016, Komma
 */

use App\KommaApp\Forms\Models\Request;
use App\KommaApp\Kms\Core\SectionController;
use App\KommaApp\Kms\Core\Tree\TreeService;
use App\KommaApp\Pages\Models\Page;

class PageController extends SectionController
{
    protected $slug = "pages";
    protected $forModelName = Page::class;

    /**
     * Constructor
     * @param PageSection $section
     */
    public function __construct(PageSection $section)
    {
        parent::__construct($section);
    }

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

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