Page MenuHomeWickedGov Phorge

TypeAliasTagValueNode.php
No OneTemporary

Size
529 B
Referenced Files
None
Subscribers
None

TypeAliasTagValueNode.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 TypeAliasTagValueNode implements PhpDocTagValueNode
{
use NodeAttributes;
public string $alias;
public TypeNode $type;
public function __construct(string $alias, TypeNode $type)
{
$this->alias = $alias;
$this->type = $type;
}
public function __toString(): string
{
return trim("{$this->alias} {$this->type}");
}
}

File Metadata

Mime Type
text/x-php
Expires
Sun, Nov 22, 10:25 (5 d, 3 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
75/a1/85c17be79d1c4bf6098ddc69b551
Default Alt Text
TypeAliasTagValueNode.php (529 B)

Event Timeline