We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e9fdb5 commit c965a1bCopy full SHA for c965a1b
src/Components/ParameterDefinition.php
@@ -42,6 +42,20 @@ class ParameterDefinition extends Component
42
*/
43
public $type;
44
45
+ /**
46
+ * Constructor.
47
+ *
48
+ * @param string $name Parameter's name.
49
+ * @param string $inOut Parameter's directional type (IN / OUT or None).
50
+ * @param DataType $type Parameter's type.
51
+ */
52
+ public function __construct($name = null, $inOut = null, $type = null)
53
+ {
54
+ $this->name = $name;
55
+ $this->inOut = $inOut;
56
+ $this->type = $type;
57
+ }
58
+
59
/**
60
* @param Parser $parser the parser that serves as context
61
* @param TokensList $list the list of tokens that are being parsed
0 commit comments