Page MenuHomeWickedGov Phorge

PropertyTagValueNode.php
No OneTemporary

Size
707 B
Referenced Files
None
Subscribers
None

PropertyTagValueNode.php

<?php declare(strict_types = 1);
namespace PHPStan\PhpDocParser\Ast\PhpDoc;
use PHPStan\PhpDocParser\Ast\NodeAttributes;
use PHPStan\PhpDocParser\Ast\Type\TypeNode;
use function trim;
class PropertyTagValueNode implements PhpDocTagValueNode
{
use NodeAttributes;
public TypeNode $type;
public string $propertyName;
/** @var string (may be empty) */
public string $description;
public function __construct(TypeNode $type, string $propertyName, string $description)
{
$this->type = $type;
$this->propertyName = $propertyName;
$this->description = $description;
}
public function __toString(): string
{
return trim("{$this->type} {$this->propertyName} {$this->description}");
}
}

File Metadata

Mime Type
text/x-php
Expires
Sat, May 16, 21:33 (1 d, 6 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
18/17/f9972a0863389d17b8d22d6b90fd
Default Alt Text
PropertyTagValueNode.php (707 B)

Event Timeline