Page MenuHomeWickedGov Phorge

ImplementsTagValueNode.php
No OneTemporary

Size
616 B
Referenced Files
None
Subscribers
None

ImplementsTagValueNode.php

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

File Metadata

Mime Type
text/x-php
Expires
Sat, May 16, 20:48 (1 d, 1 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
a9/3c/5022631c37bd0a8716a74ef032e5
Default Alt Text
ImplementsTagValueNode.php (616 B)

Event Timeline