PHP Class PhpParser\Node\Stmt\Catch_

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

Méthodes publiques

Свойство Type Description
$stmts Statements
$types Types of exceptions to catch
$var Variable for exception

Méthodes publiques

Méthode Description
__construct ( array $types, string $var, array $stmts = [], array $attributes = [] ) Constructs a catch node.
getSubNodeNames ( )

Method Details

__construct() public méthode

Constructs a catch node.
public __construct ( array $types, string $var, array $stmts = [], array $attributes = [] )
$types array Types of exceptions to catch
$var string Variable for exception
$stmts array Statements
$attributes array Additional attributes

getSubNodeNames() public méthode

public getSubNodeNames ( )

Property Details

$stmts public_oe property

Statements
public $stmts

$types public_oe property

Types of exceptions to catch
public $types

$var public_oe property

Variable for exception
public $var