PhpParser\Node\Stmt\TryCatch::__construct PHP Метод

__construct() публичный Метод

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
    public function __construct(array $stmts, array $catches, Finally_ $finally = null, array $attributes = array())
    {
        parent::__construct($attributes);
        $this->stmts = $stmts;
        $this->catches = $catches;
        $this->finally = $finally;
    }