X7ROOT File Manager
Current Path:
/home/prisjneg/public_html/vendor/nikic/php-parser/lib/PhpParser/Node
home
/
prisjneg
/
public_html
/
vendor
/
nikic
/
php-parser
/
lib
/
PhpParser
/
Node
/
📁
..
📄
Arg.php
(1.27 KB)
📄
ArrayItem.php
(1.18 KB)
📄
Attribute.php
(820 B)
📄
AttributeGroup.php
(647 B)
📄
ClosureUse.php
(973 B)
📄
ComplexType.php
(323 B)
📄
Const_.php
(971 B)
📄
DeclareItem.php
(992 B)
📁
Expr
📄
Expr.php
(133 B)
📄
FunctionLike.php
(731 B)
📄
Identifier.php
(2.07 KB)
📄
InterpolatedStringPart.php
(850 B)
📄
IntersectionType.php
(665 B)
📄
MatchArm.php
(652 B)
📁
Name
📄
Name.php
(8.47 KB)
📄
NullableType.php
(679 B)
📄
Param.php
(3.6 KB)
📄
PropertyHook.php
(3.35 KB)
📄
PropertyItem.php
(1.05 KB)
📁
Scalar
📄
Scalar.php
(98 B)
📄
StaticVar.php
(999 B)
📁
Stmt
📄
Stmt.php
(133 B)
📄
UnionType.php
(677 B)
📄
UseItem.php
(1.64 KB)
📄
VarLikeIdentifier.php
(502 B)
📄
VariadicPlaceholder.php
(653 B)
Editing: PropertyItem.php
<?php declare(strict_types=1); namespace PhpParser\Node; use PhpParser\Node; use PhpParser\NodeAbstract; class PropertyItem extends NodeAbstract { /** @var Node\VarLikeIdentifier Name */ public VarLikeIdentifier $name; /** @var null|Node\Expr Default */ public ?Expr $default; /** * Constructs a class property item node. * * @param string|Node\VarLikeIdentifier $name Name * @param null|Node\Expr $default Default value * @param array<string, mixed> $attributes Additional attributes */ public function __construct($name, ?Node\Expr $default = null, array $attributes = []) { $this->attributes = $attributes; $this->name = \is_string($name) ? new Node\VarLikeIdentifier($name) : $name; $this->default = $default; } public function getSubNodeNames(): array { return ['name', 'default']; } public function getType(): string { return 'PropertyItem'; } } // @deprecated compatibility alias class_alias(PropertyItem::class, Stmt\PropertyProperty::class);
Upload File
Create Folder