File: D:/HostingSpaces/SBogers54/csbinstallatietechniek.nl/app/Projects/Kms/ProjectController.php
<?php
namespace App\Projects\Kms;
/**
* @author Komma <info@komma.pro>
* @copyright (c) 2012-2016, Komma
*/
use App\Projects\Models\Project;
use App\Projects\Models\ProjectTranslation;
use Komma\KMS\Core\SectionController;
final class ProjectController extends SectionController
{
protected $slug = "projects";
protected $sortable = true;
protected $classModelName = Project::class;
protected $forTranslationModelName = ProjectTranslation::class;
function __construct()
{
$projectSection = new Projectsection($this->slug);
parent::__construct($projectSection);
$this->modelService = new ProjectModelService();
}
}