@@ -30,17 +30,17 @@ public function load(array $configs, ContainerBuilder $container): void
3030 $ configDef = new Definition ();
3131 $ configDef ->setClass (Configuration::class);
3232 $ configDef ->setArguments ([
33- '$backupBinary ' => $ config ['backup_binary ' ] ?? ' %env(resolve:DBTOOLS_BACKUP_BINARY)% ' ,
34- '$backupExcludedTables ' => $ config ['backup_excluded_tables ' ] ?? null , // new Parameter('env(resolve:array:DBTOOLS_BACKUP_EXCLUDED_TABLES)'), // @todo
35- '$backupExpirationAge ' => $ config ['backup_expiration_age ' ] ?? ' %env(resolve:string:DBTOOLS_BACKUP_EXPIRATION_AGE)% ' ,
36- '$backupOptions ' => $ config ['backup_options ' ] ?? ' %env(resolve:DBTOOLS_BACKUP_OPTIONS)% ' ,
37- '$backupTimeout ' => $ config ['backup_timeout ' ] ?? ' %env(int:DBTOOLS_BACKUP_TIMEOUT)% ' ,
33+ '$backupBinary ' => $ config ['backup_binary ' ] ?? null ,
34+ '$backupExcludedTables ' => $ config ['backup_excluded_tables ' ] ?? null ,
35+ '$backupExpirationAge ' => $ config ['backup_expiration_age ' ] ?? null ,
36+ '$backupOptions ' => $ config ['backup_options ' ] ?? null ,
37+ '$backupTimeout ' => $ config ['backup_timeout ' ] ?? null ,
3838 '$parent ' => null , // For Symfony 6.x.
39- '$restoreBinary ' => $ config ['restore_binary ' ] ?? ' %env(resolve:DBTOOLS_RESTORE_BINARY)% ' ,
40- '$restoreOptions ' => $ config ['restore_options ' ] ?? ' %env(resolve:DBTOOLS_RESTORE_OPTIONS)% ' ,
41- '$restoreTimeout ' => $ config ['restore_timeout ' ] ?? ' %env(int:DBTOOLS_RESTORE_TIMEOUT)% ' ,
42- '$storageDirectory ' => $ config ['storage_directory ' ] ?? ' %env(resolve:DBTOOLS_STORAGE_DIRECTORY)% ' ,
43- '$storageFilenameStrategy ' => $ config ['storage_filename_strategy ' ] ?? ' %env(resolve:DBTOOLS_STORAGE_FILENAME_STRATEGY)% ' ,
39+ '$restoreBinary ' => $ config ['restore_binary ' ] ?? null ,
40+ '$restoreOptions ' => $ config ['restore_options ' ] ?? null ,
41+ '$restoreTimeout ' => $ config ['restore_timeout ' ] ?? null ,
42+ '$storageDirectory ' => $ config ['storage_directory ' ] ?? null ,
43+ '$storageFilenameStrategy ' => $ config ['storage_filename_strategy ' ] ?? null ,
4444 ]);
4545 $ container ->setDefinition ('db_tools.configuration.default ' , $ configDef );
4646
0 commit comments