Move path determination logic into the ConfigFactory
This commit is contained in:
parent
5702944116
commit
27e4586597
10 changed files with 114 additions and 55 deletions
|
@ -74,10 +74,12 @@ return [
|
|||
]
|
||||
],
|
||||
Util\ConfigFileLoader::class => [
|
||||
'shared' => true,
|
||||
'constructParams' => [
|
||||
[Dice::INSTANCE => '$basepath'],
|
||||
$_SERVER,
|
||||
'instanceOf' => Factory\ConfigFactory::class,
|
||||
'call' => [
|
||||
['createConfigFileLoader', [
|
||||
[Dice::INSTANCE => '$basepath'],
|
||||
$_SERVER,
|
||||
], Dice::CHAIN_CALL],
|
||||
],
|
||||
],
|
||||
Config\Cache::class => [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue