Constructs a name node.
string|string[]|self $name Name as string, part array or Name instance (copy ctor):
array<string, mixed> $attributes Additional attributes:
Overrides NodeAbstract::__construct
public final function __construct($name, array $attributes = []) { $this->attributes = $attributes; $this->name = self::prepareName($name); }