2024-05-27 19:47:28 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Form;
|
|
|
|
|
|
|
|
use App\Setting\Contracts\Storeable;
|
|
|
|
use App\Setting\LocalSettings;
|
|
|
|
|
2024-08-01 11:32:14 +02:00
|
|
|
class FormSettings extends LocalSettings implements Storeable
|
2024-05-27 19:47:28 +02:00
|
|
|
{
|
|
|
|
public string $registerUrl;
|
2024-06-10 00:17:14 +02:00
|
|
|
public string $clearCacheUrl;
|
2024-05-27 19:47:28 +02:00
|
|
|
|
|
|
|
public static function group(): string
|
|
|
|
{
|
|
|
|
return 'form';
|
|
|
|
}
|
|
|
|
|
|
|
|
public static function title(): string
|
|
|
|
{
|
|
|
|
return 'Formulare';
|
|
|
|
}
|
|
|
|
|
2024-08-01 13:33:28 +02:00
|
|
|
/**
|
|
|
|
* @inheritdoc
|
|
|
|
*/
|
|
|
|
public function rules(): array
|
|
|
|
{
|
|
|
|
return [
|
|
|
|
'registerUrl' => 'present|string',
|
|
|
|
'clearCacheUrl' => 'present|string',
|
|
|
|
];
|
|
|
|
}
|
2024-05-27 19:47:28 +02:00
|
|
|
}
|