File: D:/HostingSpaces/bomacon/bomacon.nl/vendor/komma/kms/src/Sites/Kms/SiteController.php
<?php
/**
*
* @author Komma <info@komma.pro>
* @copyright (c) 2012-2016, Komma
*/
namespace Komma\KMS\Sites\Kms;
use Komma\KMS\Core\SectionController;
use Komma\KMS\Sites\Models\Site;
use Komma\KMS\Sites\Models\SiteInterface;
class SiteController extends SectionController
{
protected $slug = "sites";
protected $classModelName = Site::class;
function __construct()
{
$this->classModelName = get_class(app(SiteInterface::class));
$siteSection = new SiteSection($this->slug);
parent::__construct($siteSection);
}
}