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/farmfun.komma.pro/app/Komma/Posts/Kms/PostController.php
<?php

namespace App\Komma\Posts\Kms;

use App\Komma\Kms\Core\SectionController;
use App\Komma\Posts\Models\Post;
use App\Komma\Posts\Models\PostTranslation;

class PostController extends SectionController
{
    protected $slug = 'posts';

    protected $classModelName = Post::class;

    protected $forTranslationModelName = PostTranslation::class;

    /**
     * Constructor
     */
    public function __construct()
    {
        $postSection = new PostSection($this->slug);
        parent::__construct($postSection);
        $this->modelService = app()->make(PostService::class);
    }
}