Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1d1b91d

Browse filesBrowse files
committed
minor #3431 [Config] add cautionary note on ini file loader limitation (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
2 parents 0dac73f + 4f02a8a commit 1d1b91d
Copy full SHA for 1d1b91d

File tree

Expand file treeCollapse file tree

1 file changed

+7
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+7
-0
lines changed

‎components/config/introduction.rst

Copy file name to clipboardExpand all lines: components/config/introduction.rst
+7Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ The Config component provides several classes to help you find, load, combine,
1212
autofill and validate configuration values of any kind, whatever their source
1313
may be (YAML, XML, INI files, or for instance a database).
1414

15+
.. caution::
16+
17+
The ``IniFileLoader`` parses the file contents using the
18+
:phpfunction:`parse_ini_file` function, therefore, you can only set
19+
parameters to string values. To set parameters to other data types
20+
(e.g. boolean, integer, etc), the other loaders are recommended.
21+
1522
Installation
1623
------------
1724

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.