Config provider can now return generator, which would be iterated in order to read the config. With this addition ConfigManager becomes more flexible, while its usage is still simple:
$configManager = new ConfigManager(
[
new GlobFileProvider(__DIR__ . '/config*.php'),
ApplicationConfig::class,
BlogConfig::class,
]
);
Config provider can now return generator, which would be iterated in order to read the config. With this addition ConfigManager becomes more flexible, while its usage is still simple:
TODO: