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