Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7456539
Switch_.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
800 B
Referenced Files
None
Subscribers
None
Switch_.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
PhpParser\Node\Stmt
;
use
PhpParser\Node
;
class
Switch_
extends
Node\Stmt
{
/** @var Node\Expr Condition */
public
$cond
;
/** @var Case_[] Case list */
public
$cases
;
/**
* Constructs a case node.
*
* @param Node\Expr $cond Condition
* @param Case_[] $cases Case list
* @param array $attributes Additional attributes
*/
public
function
__construct
(
Node\Expr
$cond
,
array
$cases
,
array
$attributes
=
[])
{
$this
->
attributes
=
$attributes
;
$this
->
cond
=
$cond
;
$this
->
cases
=
$cases
;
}
public
function
getSubNodeNames
()
:
array
{
return
[
'cond'
,
'cases'
];
}
public
function
getType
()
:
string
{
return
'Stmt_Switch'
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Nov 23, 00:32 (2 d, 13 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
15/9b/ff6a9818e1f1ae0af7f8b343f992
Default Alt Text
Switch_.php (800 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment