File: D:/HostingSpaces/SBogers10/farmfun.komma.pro/app/Komma/Shop/Categories/Kms/CategoryController.php
<?php
namespace App\Komma\Shop\Categories\Kms;
/**
* @author Komma <info@komma.pro>
* @copyright (c) 2012-2016, Komma
*/
use App\Komma\Kms\Core\SectionController;
use App\Komma\Shop\Categories\Models\Category;
use App\Komma\Shop\Categories\Models\CategoryTranslation;
class CategoryController extends SectionController
{
protected $sortable = true;
protected $slug = 'categories';
protected $classModelName = Category::class;
protected $forTranslationModelName = CategoryTranslation::class;
/**
* Constructor
*/
public function __construct()
{
$section = new CategorySection($this->slug);
parent::__construct($section);
$this->modelService = new CategoryModelService();
}
}