/opt/cpanel/ea-wappspector/vendor/nikic/php-parser/lib/PhpParser/Node
NameSizeModeActions
Expr/-0755rm
Name/-0755rm
Scalar/-0755rm
Stmt/-0755rm
Arg.php12990644editdlrm
ArrayItem.php12120644editdlrm
Attribute.php8200644editdlrm
AttributeGroup.php6470644editdlrm
ClosureUse.php9730644editdlrm
ComplexType.php3230644editdlrm
Const_.php9710644editdlrm
DeclareItem.php9920644editdlrm
Expr.php1330644editdlrm
FunctionLike.php7310644editdlrm
Identifier.php21170644editdlrm
InterpolatedStringPart.php8500644editdlrm
IntersectionType.php6650644editdlrm
MatchArm.php6520644editdlrm
Name.php86710644editdlrm
NullableType.php6790644editdlrm
Param.php37870644editdlrm
PropertyHook.php34310644editdlrm
PropertyItem.php10720644editdlrm
Scalar.php980644editdlrm
StaticVar.php9990644editdlrm
Stmt.php1330644editdlrm
UnionType.php6770644editdlrm
UseItem.php16770644editdlrm
VariadicPlaceholder.php6530644editdlrm
VarLikeIdentifier.php5020644editdlrm
Edit: /opt/cpanel/ea-wappspector/vendor/nikic/php-parser/lib/PhpParser/Node/Param.php (3787B)
$attributes Additional attributes * @param int $flags Optional visibility flags * @param list $attrGroups PHP attribute groups * @param PropertyHook[] $hooks Property hooks for promoted properties */ public function __construct( Expr $var, ?Expr $default = null, ?Node $type = null, bool $byRef = false, bool $variadic = false, array $attributes = [], int $flags = 0, array $attrGroups = [], array $hooks = [] ) { $this->attributes = $attributes; $this->type = $type; $this->byRef = $byRef; $this->variadic = $variadic; $this->var = $var; $this->default = $default; $this->flags = $flags; $this->attrGroups = $attrGroups; $this->hooks = $hooks; } public function getSubNodeNames(): array { return ['attrGroups', 'flags', 'type', 'byRef', 'variadic', 'var', 'default', 'hooks']; } public function getType(): string { return 'Param'; } /** * Whether this parameter uses constructor property promotion. */ public function isPromoted(): bool { return $this->flags !== 0 || $this->hooks !== []; } public function isFinal(): bool { return (bool) ($this->flags & Modifiers::FINAL); } public function isPublic(): bool { $public = (bool) ($this->flags & Modifiers::PUBLIC); if ($public) { return true; } if (!$this->isPromoted()) { return false; } return ($this->flags & Modifiers::VISIBILITY_MASK) === 0; } public function isProtected(): bool { return (bool) ($this->flags & Modifiers::PROTECTED); } public function isPrivate(): bool { return (bool) ($this->flags & Modifiers::PRIVATE); } public function isReadonly(): bool { return (bool) ($this->flags & Modifiers::READONLY); } /** * Whether the promoted property has explicit public(set) visibility. */ public function isPublicSet(): bool { return (bool) ($this->flags & Modifiers::PUBLIC_SET); } /** * Whether the promoted property has explicit protected(set) visibility. */ public function isProtectedSet(): bool { return (bool) ($this->flags & Modifiers::PROTECTED_SET); } /** * Whether the promoted property has explicit private(set) visibility. */ public function isPrivateSet(): bool { return (bool) ($this->flags & Modifiers::PRIVATE_SET); } }