File tree Expand file tree Collapse file tree 1 file changed +1
-20
lines changed
app/helpers/ExerciseConfig/Pipeline/Box/Boxes/base Expand file tree Collapse file tree 1 file changed +1
-20
lines changed Original file line number Diff line number Diff line change 13
13
/**
14
14
* Base for conversion boxes which take a scalar and produce a single-item array.
15
15
*/
16
- class ScalarToArrayBox extends Box
16
+ abstract class ScalarToArrayBox extends Box
17
17
{
18
- public static $ SCALAR_TO_ARRAY_TYPE = null ;
19
- public static $ DEFAULT_NAME = null ;
20
-
21
18
/** Type key */
22
19
public static $ IN_PORT_KEY = "in " ;
23
20
public static $ OUT_PORT_KEY = "out " ;
@@ -62,14 +59,6 @@ public function __construct(BoxMeta $meta) {
62
59
}
63
60
64
61
65
- /**
66
- * Get type of this box.
67
- * @return string
68
- */
69
- public function getType (): string {
70
- return self ::$ SCALAR_TO_ARRAY_TYPE ;
71
- }
72
-
73
62
/**
74
63
* Get default input ports for this box.
75
64
* @return array
@@ -90,14 +79,6 @@ public function getDefaultOutputPorts(): array {
90
79
return self ::$ defaultOutputPorts ;
91
80
}
92
81
93
- /**
94
- * Get default name of this box.
95
- * @return string
96
- */
97
- public function getDefaultName (): string {
98
- return self ::$ DEFAULT_NAME ;
99
- }
100
-
101
82
102
83
/**
103
84
* Compile box into set of low-level tasks.
You can’t perform that action at this time.
0 commit comments