PHP Class PhpParser\Node\Stmt\TryCatch

Inheritance: extends PhpParser\Node\Stmt
Afficher le fichier Open project: nikic/php-parser Class Usage Examples

Méthodes publiques

Свойство Type Description
$catches Catches
$finally Optional finally node
$stmts Statements

Méthodes publiques

Méthode Description
__construct ( array $stmts, array $catches, Finally_ $finally = null, array $attributes = [] ) Constructs a try catch node.
getSubNodeNames ( )

Method Details

__construct() public méthode

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 méthode

public getSubNodeNames ( )

Property Details

$catches public_oe property

Catches
public $catches

$finally public_oe property

Optional finally node
public $finally

$stmts public_oe property

Statements
public $stmts