NodeAttributes
Table of Contents
Properties
- $attributes : array<string, mixed>
Methods
- getAttribute() : mixed
- hasAttribute() : bool
- setAttribute() : void
Properties
$attributes
private
array<string, mixed>
$attributes
= []
Methods
getAttribute()
public
getAttribute(string $key) : mixed
Parameters
- $key : string
hasAttribute()
public
hasAttribute(string $key) : bool
Parameters
- $key : string
Return values
boolsetAttribute()
public
setAttribute(string $key, mixed $value) : void
Parameters
- $key : string
- $value : mixed