Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7441218
ConstTypeNode.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
459 B
Referenced Files
None
Subscribers
None
ConstTypeNode.php
View Options
<?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
Details
Attached
Mime Type
text/x-php
Expires
Sun, Nov 22, 15:55 (12 h, 57 m ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
72/83/bc70158e0d97272efc5771822578
Default Alt Text
ConstTypeNode.php (459 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment