File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,8 @@ to access user records always go through that connection::
58
58
Now any time the ``UserModel `` is loaded from ``Factories `` it will in fact be returning a
59
59
class instance that uses the alternate database connection.
60
60
61
+ .. _factories-options :
62
+
61
63
Factories Options
62
64
==================
63
65
Original file line number Diff line number Diff line change @@ -191,10 +191,12 @@ with the ``new`` command::
191
191
192
192
Config files are automatically discovered whenever using the **config() ** function that is always available.
193
193
194
+ .. note :: We don't recommend you use the same short classname in modules.
195
+ Modules that need to override or add to known configurations in **app/Config/ ** should use :ref: `registrars `.
196
+
194
197
.. note :: **config()** finds the file in **app/Config/** when there is a class with the same shortname,
195
198
even if you specify a fully qualified class name like ``config(\Acme\Blog\Config\Blog::class) ``.
196
-
197
- .. note :: Modules that need to override or add to known configurations in **app/Config/** should use :ref:`registrars`.
199
+ This is because ``Factories ``'s the default configuration. See :ref: `factories-options ` for more information.
198
200
199
201
Migrations
200
202
==========
You can’t perform that action at this time.
0 commit comments