mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-02-05 08:59:36 +00:00
Use new settings systems for attachments settings
This commit is contained in:
parent
4876068cce
commit
26d83af298
12 changed files with 130 additions and 50 deletions
|
|
@ -24,6 +24,7 @@ declare(strict_types=1);
|
|||
namespace App\Settings;
|
||||
|
||||
use App\Settings\InfoProviderSystem\InfoProviderSettings;
|
||||
use App\Settings\SystemSettings\AttachmentsSettings;
|
||||
use Jbtronics\SettingsBundle\Settings\EmbeddedSettings;
|
||||
use Jbtronics\SettingsBundle\Settings\Settings;
|
||||
use Jbtronics\SettingsBundle\Settings\SettingsTrait;
|
||||
|
|
@ -33,9 +34,11 @@ class AppSettings
|
|||
{
|
||||
use SettingsTrait;
|
||||
|
||||
#[EmbeddedSettings()]
|
||||
public ?InfoProviderSettings $infoProviders = null;
|
||||
|
||||
#[EmbeddedSettings()]
|
||||
public ?TestSettings $test = null;
|
||||
public ?SystemSettings $system;
|
||||
|
||||
|
||||
#[EmbeddedSettings()]
|
||||
public ?InfoProviderSettings $infoProviders = null;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue