Skip to content

Commit

Permalink
minor #3431 [Config] add cautionary note on ini file loader limitatio…
Browse files Browse the repository at this point in the history
…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 1d1b91d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions components/config/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
------------

Expand Down

0 comments on commit 1d1b91d

Please sign in to comment.