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 c965a1b commit 276b252Copy full SHA for 276b252
src/Components/RenameOperation.php
@@ -34,6 +34,18 @@ class RenameOperation extends Component
34
*/
35
public $new;
36
37
+ /**
38
+ * Constructor.
39
+ *
40
+ * @param Expression $old Old expression.
41
+ * @param Expression $new New expression containing new name.
42
+ */
43
+ public function __construct($old = null, $new = null)
44
+ {
45
+ $this->old = $old;
46
+ $this->new = $new;
47
+ }
48
+
49
/**
50
* @param Parser $parser the parser that serves as context
51
* @param TokensList $list the list of tokens that are being parsed
0 commit comments