From 868961d8fa43bfa263eadd0621ee6ee4ae3065fc Mon Sep 17 00:00:00 2001 From: kenjis Date: Fri, 26 Jul 2024 10:40:53 +0900 Subject: [PATCH] docs: add note for Registrars --- user_guide_src/source/general/configuration.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/user_guide_src/source/general/configuration.rst b/user_guide_src/source/general/configuration.rst index bfb4b0f1b4ef..cc24b3f3723c 100644 --- a/user_guide_src/source/general/configuration.rst +++ b/user_guide_src/source/general/configuration.rst @@ -314,6 +314,10 @@ Registrars provide a means of altering a configuration at runtime across namespa Registrars work if :ref:`auto-discovery` is enabled in :doc:`Modules `. It alters configuration properties when the Config object is instantiated. +.. note:: This feature is implemented in the ``CodeIgniter\Config\BaseConfig`` + class. So it will not work with a few files in the **app/Config** folder + that do not extends the class. + There are two ways to implement a Registrar: **implicit** and **explicit**. .. note:: Values from **.env** always take priority over Registrars.