Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7417847
Catch_.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
Catch_.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
PhpParser\Node\Stmt
;
use
PhpParser\Node
;
use
PhpParser\Node\Expr
;
class
Catch_
extends
Node\Stmt
{
/** @var Node\Name[] Types of exceptions to catch */
public
$types
;
/** @var Expr\Variable|null Variable for exception */
public
$var
;
/** @var Node\Stmt[] Statements */
public
$stmts
;
/**
* Constructs a catch node.
*
* @param Node\Name[] $types Types of exceptions to catch
* @param Expr\Variable|null $var Variable for exception
* @param Node\Stmt[] $stmts Statements
* @param array $attributes Additional attributes
*/
public
function
__construct
(
array
$types
,
?
Expr\Variable
$var
=
null
,
array
$stmts
=
[],
array
$attributes
=
[]
)
{
$this
->
attributes
=
$attributes
;
$this
->
types
=
$types
;
$this
->
var
=
$var
;
$this
->
stmts
=
$stmts
;
}
public
function
getSubNodeNames
()
:
array
{
return
[
'types'
,
'var'
,
'stmts'
];
}
public
function
getType
()
:
string
{
return
'Stmt_Catch'
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Nov 22, 03:36 (1 d, 7 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
86/9a/5aca81593a78bb112af96423d96d
Default Alt Text
Catch_.php (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment