You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Create a new PresentationObject component and factory
@@ -41,20 +45,35 @@ class ComponentCommandController extends CommandController
41
45
* The following values are allowed for types:
42
46
*
43
47
* * string, int, float, bool
48
+
* * slot
44
49
* * Value class names created with <u>component:kickstartvalue</u> in the same
45
50
* component namespace
46
51
* * Component class names created with <u>component:kickstart</u> in the same
47
52
* package
48
53
* * ImageSource
49
54
* * Uri
55
+
* * array<...> with any of the above as an argument
50
56
*
51
57
* @param string $name The name of the new component
52
-
* @param null|string $packageKey Package key of an optional target package, if not set the configured default package or the first available site package will be used
58
+
* @param bool $listable If set, an additional list type will be generated
59
+
* @param bool $yes If set, no confirmation is going to be required for overwriting files
@@ -71,12 +90,25 @@ public function kickStartCommand(string $name, ?string $packageKey = null): void
71
90
* @param string $componentName The name of the component the new pseudo-enum belongs to
72
91
* @param string $name The name of the new pseudo-enum
73
92
* @param string $type The type of the new pseudo-enum (must be one of: "string", "int")
74
-
* @param array|string[] $values A comma-separated list of values for the new pseudo-enum
75
-
* @param null|string $packageKey Package key of an optional target package, if not set the configured default package or the first available site package will be used
93
+
* @param array|string[] $values A comma-separated colon list of names:values for the new pseudo-enum, e.g. a,b,c , a:1,b:2,c:3 or a:1.2,b:2.4,c:3.6
94
+
* @param bool $yes If set, no confirmation is going to be required for overwriting files
0 commit comments