File: D:/HostingSpaces/SBogers10/kooken.komma.pro/app/Posts/Kms/PostController.php
<?php
namespace App\Posts\Kms;
/**
* @author Komma <info@komma.pro>
* @copyright (c) 2012-2016, Komma
*/
use App\Base\SectionControllerWithComponentAreas;
use App\Posts\Models\Post;
use App\Posts\Models\PostTranslation;
final class PostController extends SectionControllerWithComponentAreas
{
protected $slug = "posts";
protected $classModelName = Post::class;
protected $forTranslationModelName = PostTranslation::class;
function __construct()
{
$postSection = new PostSection($this->slug);
parent::__construct($postSection);
}
}