Started working on moving info provider settings with jbtronics/settings-bundle

This commit is contained in:
Jan Böhmer 2024-04-29 22:59:56 +02:00
parent 4a99a5e68f
commit 5a4b7c525b
12 changed files with 358 additions and 11 deletions

View file

@ -32,4 +32,5 @@ return [
KnpU\OAuth2ClientBundle\KnpUOAuth2ClientBundle::class => ['all' => true],
Nelmio\CorsBundle\NelmioCorsBundle::class => ['all' => true],
ApiPlatform\Symfony\Bundle\ApiPlatformBundle::class => ['all' => true],
Jbtronics\SettingsBundle\JbtronicsSettingsBundle::class => ['all' => true],
];

View file

@ -0,0 +1,2 @@
jbtronics_settings:
default_storage_adapter: Jbtronics\SettingsBundle\Storage\PHPFileStorageAdapter

View file

@ -307,11 +307,6 @@ services:
$options: '%env(string:PROVIDER_MOUSER_SEARCH_OPTION)%'
$search_limit: '%env(int:PROVIDER_MOUSER_SEARCH_LIMIT)%'
App\Services\InfoProviderSystem\Providers\LCSCProvider:
arguments:
$enabled: '%env(bool:PROVIDER_LCSC_ENABLED)%'
$currency: '%env(string:PROVIDER_LCSC_CURRENCY)%'
####################################################################################################################
# API system
####################################################################################################################