Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F1432240
PropertyTagValueNode.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
707 B
Referenced Files
None
Subscribers
None
PropertyTagValueNode.php
View Options
<?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
PropertyTagValueNode
implements
PhpDocTagValueNode
{
use
NodeAttributes
;
public
TypeNode
$type
;
public
string
$propertyName
;
/** @var string (may be empty) */
public
string
$description
;
public
function
__construct
(
TypeNode
$type
,
string
$propertyName
,
string
$description
)
{
$this
->
type
=
$type
;
$this
->
propertyName
=
$propertyName
;
$this
->
description
=
$description
;
}
public
function
__toString
():
string
{
return
trim
(
"{$this->type} {$this->propertyName} {$this->description}"
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, May 16, 21:33 (1 d, 9 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
18/17/f9972a0863389d17b8d22d6b90fd
Default Alt Text
PropertyTagValueNode.php (707 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment