File: D:/HostingSpaces/SBogers10/farmfun.komma.pro/app/Komma/Pages/Kms/PageController.php
<?php
namespace App\Komma\Pages\Kms;
/**
* @author Komma <info@komma.pro>
* @copyright (c) 2012-2016, Komma
*/
use App\Komma\Kms\Core\SectionController;
use App\Komma\Pages\Models\Page;
use App\Komma\Pages\Models\PageTranslation;
final class PageController extends SectionController
{
protected $sortable = true;
protected $slug = 'pages';
protected $classModelName = Page::class;
protected $forTranslationModelName = PageTranslation::class;
/**
* Constructor
*/
public function __construct()
{
$pageSection = new PageSection($this->slug);
parent::__construct($pageSection);
$this->routeService = new PageRouteService();
$this->translationService = new PageTranslationService();
$this->modelService = new PageModelService();
}
}