config services

This commit is contained in:
Yuri Kuznetsov
2025-02-07 14:05:08 +02:00
parent 1b52f3ca3e
commit 41b8bb0acc
2 changed files with 16 additions and 0 deletions
+10
View File
@@ -232,6 +232,16 @@ class Binding implements BindingProcessor
'Espo\\Tools\\Stream\\Service',
'streamService'
);
$binder->bindService(
'Espo\\Core\\Utils\\Config\\SystemConfig',
'systemConfig'
);
$binder->bindService(
'Espo\\Core\\Utils\\Config\\ApplicationConfig',
'applicationConfig'
);
}
private function bindCore(Binder $binder): void
@@ -88,5 +88,11 @@
},
"streamService": {
"className": "Espo\\Tools\\Stream\\Service"
},
"systemConfig": {
"className": "Espo\\Core\\Utils\\Config\\SystemConfig"
},
"applicationConfig": {
"className": "Espo\\Core\\Utils\\Config\\ApplicationConfig"
}
}