mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
Update User Guide
This commit is contained in:
parent
cb11a804aa
commit
2546a40d93
@ -626,6 +626,12 @@ held the following then the result would be the same as above.</p>
|
|||||||
Registrars provide a means of altering a configuration at runtime across namespaces and files.</p>
|
Registrars provide a means of altering a configuration at runtime across namespaces and files.</p>
|
||||||
<p>Registrars work if <a class="reference internal" href="modules.html#auto-discovery"><span class="std std-ref">Auto-Discovery</span></a> is enabled in <a class="reference internal" href="modules.html"><span class="doc">Modules</span></a>.
|
<p>Registrars work if <a class="reference internal" href="modules.html#auto-discovery"><span class="std std-ref">Auto-Discovery</span></a> is enabled in <a class="reference internal" href="modules.html"><span class="doc">Modules</span></a>.
|
||||||
It alters configuration properties when the Config object is instantiated.</p>
|
It alters configuration properties when the Config object is instantiated.</p>
|
||||||
|
<div class="admonition note">
|
||||||
|
<p class="admonition-title">Note</p>
|
||||||
|
<p>This feature is implemented in the <code class="docutils literal notranslate"><span class="pre">CodeIgniter\Config\BaseConfig</span></code>
|
||||||
|
class. So it will not work with a few files in the <strong>app/Config</strong> folder
|
||||||
|
that do not extends the class.</p>
|
||||||
|
</div>
|
||||||
<p>There are two ways to implement a Registrar: <strong>implicit</strong> and <strong>explicit</strong>.</p>
|
<p>There are two ways to implement a Registrar: <strong>implicit</strong> and <strong>explicit</strong>.</p>
|
||||||
<div class="admonition note">
|
<div class="admonition note">
|
||||||
<p class="admonition-title">Note</p>
|
<p class="admonition-title">Note</p>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user