@wpkernel/php-json-ast v0.12.6-beta.3
@wpkernel/php-json-ast / PhpAttribute
Interface: PhpAttribute
Represents a single PHP attribute (e.g., #[MyAttribute(arg: value)]).
Extends
Properties
args
ts
readonly args: PhpArg[];attributes
ts
readonly attributes: PhpAttributes;Inherited from
name
ts
readonly name: PhpIdentifier | PhpName;nodeType
ts
readonly nodeType: "Attribute";