mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-02 21:39:35 +00:00
Moved Element14 configuration logic to jbtronics/settings-bundle
This commit is contained in:
parent
7ad077862c
commit
3967c53468
5 changed files with 56 additions and 14 deletions
|
|
@ -25,6 +25,7 @@ namespace App\Settings\InfoProviderSystem;
|
|||
|
||||
use Jbtronics\SettingsBundle\Settings\Settings;
|
||||
use Jbtronics\SettingsBundle\Settings\SettingsParameter;
|
||||
use Jbtronics\SettingsBundle\Settings\SettingsTrait;
|
||||
use Symfony\Component\Form\Extension\Core\Type\CountryType;
|
||||
use Symfony\Component\Form\Extension\Core\Type\CurrencyType;
|
||||
use Symfony\Component\Form\Extension\Core\Type\LanguageType;
|
||||
|
|
@ -33,6 +34,8 @@ use Symfony\Component\Validator\Constraints as Assert;
|
|||
#[Settings]
|
||||
class TMESettings
|
||||
{
|
||||
use SettingsTrait;
|
||||
|
||||
private const SUPPORTED_CURRENCIES = ["EUR", "USD", "PLN", "GBP"];
|
||||
|
||||
#[SettingsParameter(envVar: "PROVIDER_TME_KEY")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue