Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
PhpParser
Node
Stmt
TryCatch
PHP Class PhpParser\Node\Stmt\TryCatch
Inheritance:
extends
PhpParser\Node\Stmt
Show file
Open project: nikic/php-parser
Class Usage Examples
Public Properties
Property
Type
Description
$catches
Catches
$finally
Optional finally node
$stmts
Statements
Public Methods
Method
Description
__construct
(
array
$stmts
,
array
$catches
,
Finally_
$finally
= null,
array
$attributes
= [] )
Constructs a try catch node.
getSubNodeNames
( )
Method Details
__construct()
public
method
Constructs a try catch node.
public
__construct
(
array
$stmts
,
array
$catches
,
Finally_
$finally
= null,
array
$attributes
= [] )
$stmts
array
Statements
$catches
array
Catches
$finally
Finally_
Optionaly finally node
$attributes
array
Additional attributes
getSubNodeNames()
public
method
public
getSubNodeNames
( )
Property Details
$catches
public property
Catches
public
$catches
$finally
public property
Optional finally node
public
$finally
$stmts
public property
Statements
public
$stmts