PATH:
opt
/
cpanel
/
ea-wappspector
/
vendor
/
phpstan
/
phpdoc-parser
/
src
/
Ast
/
ConstExpr
<?php declare(strict_types = 1); namespace PHPStan\PhpDocParser\Ast\ConstExpr; use PHPStan\PhpDocParser\Ast\NodeAttributes; use function implode; class ConstExprArrayNode implements ConstExprNode { use NodeAttributes; /** @var ConstExprArrayItemNode[] */ public array $items; /** * @param ConstExprArrayItemNode[] $items */ public function __construct(array $items) { $this->items = $items; } public function __toString(): string { return '[' . implode(', ', $this->items) . ']'; } /** * @param array<string, mixed> $properties */ public static function __set_state(array $properties): self { $instance = new self($properties['items']); if (isset($properties['attributes'])) { foreach ($properties['attributes'] as $key => $value) { $instance->setAttribute($key, $value); } } return $instance; } }
[+]
..
[-] ConstExprArrayItemNode.php
[edit]
[-] ConstExprArrayNode.php
[edit]
[-] ConstExprFalseNode.php
[edit]
[-] ConstExprFloatNode.php
[edit]
[-] ConstExprIntegerNode.php
[edit]
[-] ConstExprNode.php
[edit]
[-] ConstExprNullNode.php
[edit]
[-] ConstExprStringNode.php
[edit]
[-] ConstExprTrueNode.php
[edit]
[-] ConstFetchNode.php
[edit]
[-] DoctrineConstExprStringNode.php
[edit]