D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
3023066
/
cwd
/
www
/
vendor
/
phpstan
/
phpdoc-parser
/
src
/
Ast
/
Type
/
Filename :
ObjectShapeNode.php
back
Copy
<?php declare(strict_types = 1); namespace PHPStan\PhpDocParser\Ast\Type; use PHPStan\PhpDocParser\Ast\NodeAttributes; use function implode; class ObjectShapeNode implements TypeNode { use NodeAttributes; /** @var ObjectShapeItemNode[] */ public $items; /** * @param ObjectShapeItemNode[] $items */ public function __construct(array $items) { $this->items = $items; } public function __toString(): string { $items = $this->items; return 'object{' . implode(', ', $items) . '}'; } }