SnowboardNode

Represents a "snowboard" node

 class Cms\Twig\SnowboardNode
extends Twig\Node\Node

Extends

Class Description
Twig\Node\Node

Properties

public static $baseLoaded : bool

Indicates if the base Snowboard framework is already loaded, in case of multiple uses of this tag.

Methods

public __construct (array $modules, $lineno, string $tag = "snowboard")

Parameters
Property Description
$modules
array
$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