Creating interfaces for Config/PConfig & fix tests

This commit is contained in:
Philipp Holzer 2019-12-19 20:11:07 +01:00
commit c1dbb25656
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
54 changed files with 349 additions and 285 deletions

View file

@ -68,13 +68,13 @@ return [
['determine', [], Dice::CHAIN_CALL],
],
],
Config\Configuration::class => [
Config\IConfiguration::class => [
'instanceOf' => Factory\ConfigFactory::class,
'call' => [
['createConfig', [], Dice::CHAIN_CALL],
],
],
Config\PConfiguration::class => [
Config\IPConfiguration::class => [
'instanceOf' => Factory\ConfigFactory::class,
'call' => [
['createPConfig', [], Dice::CHAIN_CALL],