PATH:
opt
/
cpanel
/
ea-wappspector
/
vendor
/
nikic
/
php-parser
/
lib
/
PhpParser
/
Node
<?php declare(strict_types=1); namespace PhpParser\Node; use PhpParser\NodeAbstract; class ClosureUse extends NodeAbstract { /** @var Expr\Variable Variable to use */ public Expr\Variable $var; /** @var bool Whether to use by reference */ public bool $byRef; /** * Constructs a closure use node. * * @param Expr\Variable $var Variable to use * @param bool $byRef Whether to use by reference * @param array<string, mixed> $attributes Additional attributes */ public function __construct(Expr\Variable $var, bool $byRef = false, array $attributes = []) { $this->attributes = $attributes; $this->var = $var; $this->byRef = $byRef; } public function getSubNodeNames(): array { return ['var', 'byRef']; } public function getType(): string { return 'ClosureUse'; } } // @deprecated compatibility alias class_alias(ClosureUse::class, Expr\ClosureUse::class);
[-] Scalar.php
[edit]
[-] Attribute.php
[edit]
[-] PropertyHook.php
[edit]
[-] FunctionLike.php
[edit]
[-] StaticVar.php
[edit]
[-] Arg.php
[edit]
[+]
..
[-] Identifier.php
[edit]
[+]
Name
[+]
Scalar
[-] AttributeGroup.php
[edit]
[+]
Stmt
[-] DeclareItem.php
[edit]
[-] UseItem.php
[edit]
[-] ArrayItem.php
[edit]
[-] VarLikeIdentifier.php
[edit]
[-] UnionType.php
[edit]
[-] Name.php
[edit]
[-] PropertyItem.php
[edit]
[-] ClosureUse.php
[edit]
[-] MatchArm.php
[edit]
[-] Stmt.php
[edit]
[-] NullableType.php
[edit]
[-] IntersectionType.php
[edit]
[-] Const_.php
[edit]
[+]
Expr
[-] ComplexType.php
[edit]
[-] VariadicPlaceholder.php
[edit]
[-] InterpolatedStringPart.php
[edit]
[-] Expr.php
[edit]
[-] Param.php
[edit]