Skip to content

Commit 2c668d4

Browse files
committed
docs: shorten the width of the table
It is too long and difficult to see.
1 parent a2fc131 commit 2c668d4

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

user_guide_src/source/concepts/factories.rst

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,19 @@ The default behavior might not work for every component. For example, say your c
6767
name and its path do not align, or you need to limit instances to a certain type of class.
6868
Each component takes a set of options to direct discovery and instantiation.
6969

70-
========== ============== ==================================================================================================================== ===================================================
71-
Key Type Description Default
72-
========== ============== ==================================================================================================================== ===================================================
73-
component string or null The name of the component (if different than the static method). This can be used to alias one component to another. ``null`` (defaults to the component name)
74-
path string or null The relative path within the namespace/folder to look for classes. ``null`` (defaults to the component name)
75-
instanceOf string or null A required class name to match on the returned instance. ``null`` (no filtering)
76-
getShared boolean Whether to return a shared instance of the class or load a fresh one. ``true``
77-
preferApp boolean Whether a class with the same basename in the App namespace overrides other explicit class requests. ``true``
78-
========== ============== ==================================================================================================================== ===================================================
70+
========== ============== ============================================================ ===================================================
71+
Key Type Description Default
72+
========== ============== ============================================================ ===================================================
73+
component string or null The name of the component (if different than the static ``null`` (defaults to the component name)
74+
method). This can be used to alias one component to another.
75+
path string or null The relative path within the namespace/folder to look for ``null`` (defaults to the component name)
76+
classes.
77+
instanceOf string or null A required class name to match on the returned instance. ``null`` (no filtering)
78+
getShared boolean Whether to return a shared instance of the class or load a ``true``
79+
fresh one.
80+
preferApp boolean Whether a class with the same basename in the App namespace ``true``
81+
overrides other explicit class requests.
82+
========== ============== ============================================================ ===================================================
7983

8084
Factories Behavior
8185
==================

0 commit comments

Comments
 (0)