NikicAttributeNode
class NikicAttributeNode implements AttributeNode (View source)
Adapter for nikic/php-parser Attribute nodes.
Converts PHP AST attribute nodes to parser-agnostic AttributeNode interface.
Methods
__construct(Attribute $attribute)
No description
string
getName()
Get the attribute name (e.g., "LanguageLevelTypeAware").
array
getArguments()
Get the attribute arguments.
Details
__construct(Attribute $attribute)
No description
string
getName()
Get the attribute name (e.g., "LanguageLevelTypeAware").
array
getArguments()
Get the attribute arguments.
Returns an associative array where keys are argument names (or numeric for positional args).