config services
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user