Skip to content

Commit 25f120f

Browse files
committed
docs: add explanation for component
1 parent d154052 commit 25f120f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

user_guide_src/source/concepts/factories.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ Example
4949
Take a look at **Models** as an example. You can access the Factory specific to Models
5050
by using the magic static method of the Factories class, ``Factories::models()``.
5151

52+
The static method name is called *component*.
53+
5254
By default, Factories first searches in the ``App`` namespace for the path corresponding to the magic static method name.
5355
``Factories::models()`` searches the **app/Models** directory.
5456

0 commit comments

Comments
 (0)