mtymek / expressive-config-manager

Lightweight library for merging and caching application config
30 stars 4 forks source link

Remove Zend\StdLib dependency #10

Closed mtymek closed 8 years ago

mtymek commented 8 years ago

Based on zendframework/zend-servicemanager#68.

bakura10 commented 8 years ago

Considering that this package do not have any compatibility break to maintain and considering how obscure are all those Merge interfaces, I think it could be simplified here and everything could be removed to keep only the relevant lines.

mtymek commented 8 years ago

I found it useful (once or twice, but still counts :) ) to remove config keys with this interfaces. Yes, they are inconsistent (MergeReplaceKeyInterface and MergeRemoveKey) and code looks a bit complex, but they make perfect sense for configuration manager.