ScriptsNode
Represents a "scripts" node
class Cms\Twig\ScriptsNode
extends Twig\Node\Node
Extends
Class | Description |
---|---|
Twig\Node\Node
|
Methods
public
__construct ($lineno, string $tag = "scripts"
)
Parameters
Property | Type | Description |
---|---|---|
$lineno | mixed |
mixed
|
$tag | string |
string
|
Returns
mixed
public compile (Twig\Compiler $compiler)
Compiles the node to PHP.
Parameters
Property | Type | Description |
---|---|---|
$compiler | Twig\Compiler |
Twig\Compiler
A TwigCompiler instance |
Returns
mixed
Copyright © 2024 Winter CMS