From fe296518a353aa822381b5232723ef82a993556c Mon Sep 17 00:00:00 2001 From: obozdag Date: Fri, 22 Mar 2024 14:20:12 +0100 Subject: [PATCH] docs: Small typo in factories.rst Small typo in factories.rst. Change all "full qualified classname" to "fully qualified classname". --- user_guide_src/source/concepts/factories.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/user_guide_src/source/concepts/factories.rst b/user_guide_src/source/concepts/factories.rst index f4872327f082..76dcc99eb7b3 100644 --- a/user_guide_src/source/concepts/factories.rst +++ b/user_guide_src/source/concepts/factories.rst @@ -86,17 +86,17 @@ The following code loads **app/Libraries/Sub/SubLib.php** if it exists: .. literalinclude:: factories/013.php :lines: 2- -Passing Full Qualified Classname --------------------------------- +Passing Fully Qualified Classname +--------------------------------- -You could also request a full qualified classname: +You could also request a fully qualified classname: .. literalinclude:: factories/002.php :lines: 2- It returns the instance of ``Blog\Models\UserModel`` if it exists. -.. note:: Prior to v4.4.0, when you requested a full qualified classname, +.. note:: Prior to v4.4.0, when you requested a fully qualified classname, if you had only ``Blog\Models\UserModel``, the instance would be returned. But if you had both ``App\Models\UserModel`` and ``Blog\Models\UserModel``, the instance of ``App\Models\UserModel`` would be returned. @@ -143,7 +143,7 @@ the ``Factories::define()`` method: The first parameter is a component. The second parameter is a class alias (the first parameter to Factories magic static method), and the third parameter -is the true full qualified classname to be loaded. +is the true fully qualified classname to be loaded. After that, if you load ``Myth\Auth\Models\UserModel`` with Factories, the ``App\Models\UserModel`` instance will be returned: