adrema/app/Form/FormSettings.php

34 lines
599 B
PHP

<?php
namespace App\Form;
use App\Setting\Contracts\Storeable;
use App\Setting\LocalSettings;
class FormSettings extends LocalSettings implements Storeable
{
public string $registerUrl;
public string $clearCacheUrl;
public static function group(): string
{
return 'form';
}
public static function title(): string
{
return 'Formulare';
}
/**
* @inheritdoc
*/
public function rules(): array
{
return [
'registerUrl' => 'present|string',
'clearCacheUrl' => 'present|string',
];
}
}