Skip to content

Commit fdc7bd5

Browse files
committed
docs: improve description
1 parent 9d19dd6 commit fdc7bd5

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

user_guide_src/source/general/configuration.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,7 @@ Registrars
281281

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.
284+
284285
There are two ways to implement a Registrar: implicit and explicit.
285286

286287
.. note:: Values from **.env** always take priority over Registrars.
@@ -290,8 +291,10 @@ Implicit Registrars
290291

291292
Any namespace may define registrars by using the **Config/Registrar.php** file, if :ref:`auto-discovery`
292293
is enabled in :doc:`Modules </general/modules>`. These files are classes whose methods are
293-
named for each configuration class you wish to extend. For example, a third-party module might
294-
wish to supply an additional template to ``Pager`` without overwriting whatever a develop has
294+
named for each configuration class you wish to extend.
295+
296+
For example, a third-party module or Composer package might
297+
wish to supply an additional template to ``Config\Pager`` without overwriting whatever a developer has
295298
already configured. In **src/Config/Registrar.php** there would be a ``Registrar`` class with
296299
the single ``Pager()`` method (note the case-sensitivity):
297300

0 commit comments

Comments
 (0)