Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7411978
Label.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
717 B
Referenced Files
None
Subscribers
None
Label.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
PhpParser\Node\Stmt
;
use
PhpParser\Node\Identifier
;
use
PhpParser\Node\Stmt
;
class
Label
extends
Stmt
{
/** @var Identifier Name */
public
$name
;
/**
* Constructs a label node.
*
* @param string|Identifier $name Name
* @param array $attributes Additional attributes
*/
public
function
__construct
(
$name
,
array
$attributes
=
[])
{
$this
->
attributes
=
$attributes
;
$this
->
name
=
\is_string
(
$name
)
?
new
Identifier
(
$name
)
:
$name
;
}
public
function
getSubNodeNames
()
:
array
{
return
[
'name'
];
}
public
function
getType
()
:
string
{
return
'Stmt_Label'
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Nov 22, 00:05 (1 d, 19 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
78/29/a41e1ce64394e7ae72488fd8a4bd
Default Alt Text
Label.php (717 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment