diff --git a/general/configuration.html b/general/configuration.html index 9574de0e73..89deace4ef 100644 --- a/general/configuration.html +++ b/general/configuration.html @@ -626,6 +626,12 @@ held the following then the result would be the same as above.

Registrars provide a means of altering a configuration at runtime across namespaces and files.

Registrars work if Auto-Discovery is enabled in 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