File: D:/HostingSpaces/SBogers10/reiskick.komma.nl/app/Overnights/Kms/OvernightController.php
<?php
namespace App\Overnights\Kms;
use App\Overnights\Models\Overnight;
use App\Overnights\Models\OvernightTranslation;
use Komma\KMS\Core\SectionController;
final class OvernightController extends SectionController
{
protected string $slug = "overnights";
protected string $classModelName = Overnight::class;
protected ?string $forTranslationModelName = OvernightTranslation::class;
function __construct()
{
$hotelSection = new OvernightSection($this->slug);
parent::__construct($hotelSection);
}
}