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
Sun, Nov 22, 16:12 (13 h, 26 m ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
ca/9d/aefb79cc1c6ab26af14b8b658d9d
Default Alt Text
ImplementsTagValueNode.php (616 B)

Event Timeline