Skip to content

Attributes not supported ? #8550

Answered by samsonasik
tamighi asked this question in Q&A
Mar 15, 2024 · 2 comments · 4 replies
Discussion options

You must be logged in to vote

You can use the Stmt that contains the Attribute, eg PhpParser\Node\Stmt\Class_, then process its $node->attrGroups to get the PhpParser\Node\Attribute, then process it.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@samsonasik
Comment options

@tamighi
Comment options

Answer selected by samsonasik
Comment options

You must be logged in to vote
2 replies
@samsonasik
Comment options

@tamighi
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants