How to add method to interface at specific place #7359
MartinMystikJonas
started this conversation in
General
Replies: 1 comment 2 replies
-
If your work with the $node->stmts[] = $newMethod; |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In one of our old rules we add new method to processed node interface like this:
But addNodeAfterNode is deprecated. What is correct way to do it now?
I tried inserting it into stmts like this:
but it did not work.
Beta Was this translation helpful? Give feedback.
All reactions