Warning: You are browsing the documentation for version 2.4 which is not maintained anymore.
If some of your projects are still using this version, consider upgrading.
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).
IniFileLoader parses the file contents using the
parse_ini_file function, therefore, you can only set
parameters to string values. To set parameters to other data types
(e.g. boolean, integer, etc), the other loaders are recommended.
You can install the component in 2 different ways: