adrema/app/Mailman/MailmanSettings.php

44 lines
770 B
PHP
Raw Normal View History

2022-10-18 15:04:47 +02:00
<?php
namespace App\Mailman;
2022-10-20 02:15:28 +02:00
use App\Mailman\Actions\SettingIndexAction;
use App\Mailman\Actions\SettingSaveAction;
use App\Setting\LocalSettings;
2022-10-18 15:04:47 +02:00
2022-10-20 02:15:28 +02:00
class MailmanSettings extends LocalSettings
2022-10-18 15:04:47 +02:00
{
public ?string $base_url;
public ?string $username;
public ?string $password;
2022-10-20 03:22:50 +02:00
public bool $is_active;
2022-10-18 15:04:47 +02:00
public static function group(): string
{
return 'mailman';
}
2022-10-20 02:15:28 +02:00
public static function slug(): string
{
return 'mailman';
}
public static function indexAction(): string
{
return SettingIndexAction::class;
}
public static function saveAction(): string
{
return SettingSaveAction::class;
}
public static function title(): string
{
return 'Mailman';
}
2022-10-18 15:04:47 +02:00
}