MailPartialNode

Represents a partial node

 class System\Twig\MailPartialNode
extends Twig\Node\Node

Methods

public __construct (Twig\Node\Node $nodes, $paramNames, $body, $lineno, string $tag = "partial")

Parameters
Property Description
$nodes
Twig\Node\Node
$paramNames
mixed
$body
mixed
$lineno
mixed
$tag
string
Returns
mixed

public compile (Twig\Compiler $compiler)

Compiles the node to PHP.

Parameters
Property Description
$compiler
Twig\Compiler

A TwigCompiler instance

Returns
mixed
Copyright © 2024 Winter CMS