Constructs a declare key=>value pair node.
string|Node\Identifier $key Key:
Node\Expr $value Value:
array<string, mixed> $attributes Additional attributes:
Overrides NodeAbstract::__construct
public function __construct($key, Node\Expr $value, array $attributes = []) { $this->attributes = $attributes; $this->key = \is_string($key) ? new Node\Identifier($key) : $key; $this->value = $value; }