ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
dependency_resolution.php
Go to the documentation of this file.
1 <?php
2 
3 // This is the default resolution for ambiguous dependencies of components in
4 // Standard ILIAS.
5 //
6 // The structure is as such: keys are components that use services ("dependant")
7 // that need disambiguation, the value for each dependant is an array where the key
8 // is the definition ("dependency") and the value is the implementation
9 // ("implementation") to be used.
10 //
11 // The entry "*" for the dependant will define fallbacks to be used for all components
12 // that have no explicit disambiguation.
13 
14 return [
15  "*" => [
16  "\\ILIAS\\Language\\Language" => "ilSetupLanguage"
17  ],
18  "\\ILIAS\\Refinery" => [
19  "\\ILIAS\Language\Language" => "myLanguage"
20  ]
21 ];