<?phpdeclare(strict_types=1);namespacePhpParser\Node\Expr;usePhpParser\Node\Expr;classClosureUseextendsExpr{/** @var Expr\Variable Variable to use */public$var;/** @var bool Whether to use by reference */public$byRef;/** * Constructs a closure use node. * * @param Expr\Variable $var Variable to use * @param bool $byRef Whether to use by reference * @param array $attributes Additional attributes */publicfunction__construct(Expr\Variable$var,bool$byRef=false,array$attributes=[]){$this->attributes=$attributes;$this->var=$var;$this->byRef=$byRef;}publicfunctiongetSubNodeNames():array{return['var','byRef'];}publicfunctiongetType():string{return'Expr_ClosureUse';}}