Skip to content

Commit 3295b20

Browse files
committed
docs: improve description
Registrars work only if Auto-Discovery is enabled.
1 parent 5fec4b6 commit 3295b20

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

user_guide_src/source/general/configuration.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -282,15 +282,16 @@ Registrars
282282
"Registrars" are any other classes which might provide additional configuration properties.
283283
Registrars provide a means of altering a configuration at runtime across namespaces and files.
284284

285-
There are two ways to implement a Registrar: implicit and explicit.
285+
Registrars work if :ref:`auto-discovery` is enabled in :doc:`Modules </general/modules>`.
286+
There are two ways to implement a Registrar: **implicit** and **explicit**.
286287

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

289290
Implicit Registrars
290291
===================
291292

292-
Any namespace may define registrars by using the **Config/Registrar.php** file, if :ref:`auto-discovery`
293-
is enabled in :doc:`Modules </general/modules>`. These files are classes whose methods are
293+
Any namespace may define registrars by using the **Config/Registrar.php** file.
294+
These files are classes whose methods are
294295
named for each configuration class you wish to extend.
295296

296297
For example, a third-party module or Composer package might

0 commit comments

Comments
 (0)