PlaceholderNode

Represents a placeholder node

 class Cms\Twig\PlaceholderNode
extends Twig\Node\Node

Extends

Class Description
Twig\Node\Node

Methods

public __construct ($name, $paramValues, $body, $lineno, string $tag = "placeholder")

Parameters
Property Description
$name
mixed
$paramValues
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