Skip to content

Commit 72a1d16

Browse files
committed
docs: add note for feature to replace Config property
1 parent 642cf3b commit 72a1d16

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

user_guide_src/source/general/configuration.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,10 @@ are considered for merging into the configuration object's properties.
183183
.. important:: You cannot add a new property by setting environment variables,
184184
nor change a scalar value to an array. See :ref:`env-var-replacements-for-data`.
185185

186+
.. note:: This feature is implemented in the ``CodeIgniter\Config\BaseConfig``
187+
class. So it will not work with a few files in the **app/Config** folder
188+
that do not extends the class.
189+
186190
If the prefix of a namespaced variable exactly matches the namespace of the configuration
187191
class, then the trailing part of the setting (after the dot) is treated as a configuration
188192
property. If it matches an existing configuration property, the environment variable's

0 commit comments

Comments
 (0)