Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7437935
Case_.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
855 B
Referenced Files
None
Subscribers
None
Case_.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
PhpParser\Node\Stmt
;
use
PhpParser\Node
;
class
Case_
extends
Node\Stmt
{
/** @var null|Node\Expr Condition (null for default) */
public
$cond
;
/** @var Node\Stmt[] Statements */
public
$stmts
;
/**
* Constructs a case node.
*
* @param null|Node\Expr $cond Condition (null for default)
* @param Node\Stmt[] $stmts Statements
* @param array $attributes Additional attributes
*/
public
function
__construct
(
$cond
,
array
$stmts
=
[],
array
$attributes
=
[])
{
$this
->
attributes
=
$attributes
;
$this
->
cond
=
$cond
;
$this
->
stmts
=
$stmts
;
}
public
function
getSubNodeNames
()
:
array
{
return
[
'cond'
,
'stmts'
];
}
public
function
getType
()
:
string
{
return
'Stmt_Case'
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Nov 22, 14:15 (5 h, 34 m ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
0a/8e/d6228894d7405a99d16d2c2ec0c1
Default Alt Text
Case_.php (855 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment