Permalink
Browse files

minor #3431 [Config] add cautionary note on ini file loader limitatio…

…n (cordoval)

This PR was merged into the 2.3 branch.

Discussion
----------

[Config] add cautionary note on ini file loader limitation

| Q             | A                   |
| ---           | ---                 |
| Doc fix?      | yes                 |
| New docs?     | no                  |
| Applies to    | 2.3+                |
| Fixed tickets | #2517               |
| License       | CC-ASA 3.0 Unported |

 Sent using [Gush](https://github.com/cordoval/gush)

Commits
-------

4f02a8a address comments
dd3dd70 address comments, even the Boolean one
4436dae add warning for inifile loader
  • Loading branch information...
weaverryan committed Jan 21, 2014
2 parents 0dac73f + 4f02a8a commit 1d1b91d6cbd4479e85ff2fdbc2cbab4f7a9a778b
Showing with 7 additions and 0 deletions.
  1. +7 −0 components/config/introduction.rst
@@ -12,6 +12,13 @@ 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).
.. caution::
The ``IniFileLoader`` parses the file contents using the
:phpfunction:`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.
Installation
------------

0 comments on commit 1d1b91d

Please sign in to comment.