Skip to content

Commit 75a0d9a

Browse files
authored
Merge pull request #9077 from kenjis/add-note-for-Registrars
docs: add note for Registrars
2 parents f18b8f2 + 868961d commit 75a0d9a

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
@@ -314,6 +314,10 @@ Registrars provide a means of altering a configuration at runtime across namespa
314314
Registrars work if :ref:`auto-discovery` is enabled in :doc:`Modules </general/modules>`.
315315
It alters configuration properties when the Config object is instantiated.
316316

317+
.. note:: This feature is implemented in the ``CodeIgniter\Config\BaseConfig``
318+
class. So it will not work with a few files in the **app/Config** folder
319+
that do not extends the class.
320+
317321
There are two ways to implement a Registrar: **implicit** and **explicit**.
318322

319323
.. note:: Values from **.env** always take priority over Registrars.

0 commit comments

Comments
 (0)