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 e05c466 commit 4412836Copy full SHA for 4412836
1 file changed
src/Components/AlterOperation.php
@@ -116,6 +116,23 @@ class AlterOperation extends Component
116
*/
117
public $unknown = array();
118
119
+ /**
120
+ * Constructor.
121
+ *
122
+ * @param OptionsArray $options options of alter operation
123
+ * @param Expression $field altered field
124
+ * @param array $unknown unparsed tokens found at the end of operation
125
+ */
126
+ public function __construct(
127
+ $options = null,
128
+ $field = null,
129
+ $unknown = array()
130
+ ) {
131
+ $this->options = $options;
132
+ $this->field = $field;
133
+ $this->unknown = $unknown;
134
+ }
135
+
136
/**
137
* @param Parser $parser the parser that serves as context
138
* @param TokensList $list the list of tokens that are being parsed
0 commit comments