Page MenuHomeWickedGov Phorge

ConstTypeNode.php
No OneTemporary

Size
459 B
Referenced Files
None
Subscribers
None

ConstTypeNode.php

<?php declare(strict_types = 1);
namespace PHPStan\PhpDocParser\Ast\Type;
use PHPStan\PhpDocParser\Ast\ConstExpr\ConstExprNode;
use PHPStan\PhpDocParser\Ast\NodeAttributes;
class ConstTypeNode implements TypeNode
{
use NodeAttributes;
public ConstExprNode $constExpr;
public function __construct(ConstExprNode $constExpr)
{
$this->constExpr = $constExpr;
}
public function __toString(): string
{
return $this->constExpr->__toString();
}
}

File Metadata

Mime Type
text/x-php
Expires
Sun, Nov 22, 15:55 (13 h, 5 m ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
72/83/bc70158e0d97272efc5771822578
Default Alt Text
ConstTypeNode.php (459 B)

Event Timeline