Documentation

TwigNodeTryCatch extends Node
in package

Class TwigNodeTryCatch

Table of Contents

Methods

__construct()  : mixed
TwigNodeTryCatch constructor.
compile()  : void
Compiles the node to PHP.

Methods

__construct()

TwigNodeTryCatch constructor.

public __construct(Node $try[, Node|null $catch = null ][, int $lineno = 0 ][, string|null $tag = null ]) : mixed
Parameters
$try : Node
$catch : Node|null = null
$lineno : int = 0
$tag : string|null = null

compile()

Compiles the node to PHP.

public compile(Compiler $compiler) : void
Parameters
$compiler : Compiler

A Twig Compiler instance

Tags
throws
LogicException

        
On this page

Search results