Constructs a static variable node.
Expr\Variable $var Name:
null|Node\Expr $default Default value:
array<string, mixed> $attributes Additional attributes:
Overrides NodeAbstract::__construct
public function __construct(Expr\Variable $var, ?Node\Expr $default = null, array $attributes = []) { $this->attributes = $attributes; $this->var = $var; $this->default = $default; }