21a3439a29
This PR was merged into the 4.2-dev branch.
Discussion
----------
[Config] deprecate tree builders without root nodes
| Q | A
| ------------- | ---
| Branch? | master
| Bug fix? | no
| New feature? | yes
| BC breaks? | no
| Deprecations? | yes
| Tests pass? | yes
| Fixed tickets |
| License | MIT
| Doc PR |
While reviewing #27472 I wondered if we really need support config trees without a root node. If we did not support it, users wouldn't create pseudo configuration classes when they were actually not needed.
Commits
-------
|
||
---|---|---|
.. | ||
Definition | ||
Exception | ||
Loader | ||
Resource | ||
Tests | ||
Util | ||
.gitignore | ||
CHANGELOG.md | ||
composer.json | ||
ConfigCache.php | ||
ConfigCacheFactory.php | ||
ConfigCacheFactoryInterface.php | ||
ConfigCacheInterface.php | ||
FileLocator.php | ||
FileLocatorInterface.php | ||
LICENSE | ||
phpunit.xml.dist | ||
README.md | ||
ResourceCheckerConfigCache.php | ||
ResourceCheckerConfigCacheFactory.php | ||
ResourceCheckerInterface.php |
Config Component
The Config component provides several classes to help you find, load, combine, autofill and validate configuration values of any kind, whatever their source may be (YAML, XML, INI files, or for instance a database).